Commit: 85f1e284c770fe84926d7973785b3e407d8b51e9
Author: Julian Eisel
Date: Tue Jun 21 19:40:00 2016 +0200
Branches: soc-2016-layer_manager
https://developer.blender.org/rB85f1e284c770fe84926d7973785b3e407d8b51e9
Fix nasty error in layer RNA generation
===================================================================
M source/blender/makesrna/intern/rna_scene.c
===================================================================
diff --git a/source/blender/makesrna/intern/rna_scene.c
b/source/blender/makesrna/intern/rna_scene.c
index f67383f..1ad552c 100644
--- a/source/blender/makesrna/intern/rna_scene.c
+++ b/source/blender/makesrna/intern/rna_scene.c
@@ -6459,6 +6459,7 @@ static void rna_def_layer_tree(BlenderRNA *brna)
prop = RNA_def_property(srna, "tree_items", PROP_COLLECTION, PROP_NONE);
RNA_def_property_collection_sdna(prop, NULL, "items_all", NULL);
+ RNA_def_property_struct_type(prop, "LayerTreeItem");
RNA_def_property_ui_text(prop, "Layer Items", "The items of the layer
tree that represent the "
"layer types (object layer, layer group,
compositing layer, ...)");
RNA_def_property_collection_funcs(prop, "rna_layer_tree_items_begin",
"rna_iterator_array_next",
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs