[Bf-blender-cvs] [d00b952d4d7] greasepencil-object: Remove duplicate RNA name set

Antonio Vazquez noreply at git.blender.org
Thu Mar 15 18:49:45 CET 2018


Commit: d00b952d4d7cd914c1f3be4e855ececa3356e842
Author: Antonio Vazquez
Date:   Thu Mar 15 18:49:37 2018 +0100
Branches: greasepencil-object
https://developer.blender.org/rBd00b952d4d7cd914c1f3be4e855ececa3356e842

Remove duplicate RNA name set

This broke the name property of the layer.

===================================================================

M	source/blender/makesrna/intern/rna_gpencil.c

===================================================================

diff --git a/source/blender/makesrna/intern/rna_gpencil.c b/source/blender/makesrna/intern/rna_gpencil.c
index 9e63533eb9c..0fb2e9d8d69 100644
--- a/source/blender/makesrna/intern/rna_gpencil.c
+++ b/source/blender/makesrna/intern/rna_gpencil.c
@@ -1235,7 +1235,6 @@ static void rna_def_gpencil_layer(BlenderRNA *brna)
 	prop = RNA_def_property(srna, "view_layer", PROP_STRING, PROP_NONE);
 	RNA_def_property_ui_text(prop, "View Layer", 
 		"Include this layer only in this view layer when render (empty to include in all view layers)");
-	RNA_def_struct_name_property(srna, prop);
 	RNA_def_property_update(prop, NC_GPENCIL | ND_DATA, NULL);
 
 	prop = RNA_def_property(srna, "invert_view_layer", PROP_BOOLEAN, PROP_NONE);



More information about the Bf-blender-cvs mailing list