Fix #23867: GroupNode.nodetree name inconsistent with Material/Texture.node_tree,
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Thu, 16 Sep 2010 19:00:15 +0000 (19:00 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Thu, 16 Sep 2010 19:00:15 +0000 (19:00 +0000)
changed to the latter, patch by Dan Eicher, thanks!

source/blender/makesrna/intern/rna_nodetree.c

index 4cf02dbd1d292135ea051e5cd28818bbcbdfc1c8..20e74ca5a72b2d8f0dbb9c898e96f2d3acfa3ea0 100644 (file)
@@ -593,7 +593,7 @@ static void def_group(StructRNA *srna)
 {
        PropertyRNA *prop;
        
-       prop = RNA_def_property(srna, "nodetree", PROP_POINTER, PROP_NONE);
+       prop = RNA_def_property(srna, "node_tree", PROP_POINTER, PROP_NONE);
        RNA_def_property_pointer_sdna(prop, NULL, "id");
        RNA_def_property_struct_type(prop, "NodeTree");
        RNA_def_property_flag(prop, PROP_EDITABLE);