Blender Git Loki

Git Commits -> Revision 554b26c

Revision 554b26c by Jacques Lucke (master)
September 25, 2018, 10:01 (GMT)
Fix T56912: bpy.data.masks.new() crashed

I think there are two possible ways to fix that.
1. Make the name a required parameter.
2. Provide a default value.

I choosed option 1 in this fix to be consistent with other .new functions.

Also I think `RNA_def_string` instead of `RNA_def_string_file_path` should be used here. Looks like a copy-paste error.

Reviewers: brecht

Differential Revision: https://developer.blender.org/D3728

Commit Details:

Full Hash: 554b26cf88de613ac94121c652cfff45a8f03c88
Parent Commit: 0083c69
Lines Changed: +2, -1

1 Modified Path:

/source/blender/makesrna/intern/rna_main_api.c (+2, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021