diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2010-09-22 12:10:46 +0400 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2010-09-22 12:10:46 +0400 |
commit | ef8a6e5c846ea9c10beadcbfb9096443687faf99 (patch) | |
tree | 3a481e43cc29b1f70baf9183e83036b6a67d3190 /source/blender/makesrna/intern/rna_space.c | |
parent | f82f3f235e8cb714c81d3cc644fdac166cef4bbd (diff) |
RNA renaming nodetree to node_tree
* previously some were left as nodetree, that is not only inconsistent, but it was also raising one of those RNA property not found errors)
Diffstat (limited to 'source/blender/makesrna/intern/rna_space.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_space.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_space.c b/source/blender/makesrna/intern/rna_space.c index 780cc31edea..3d68a286b41 100644 --- a/source/blender/makesrna/intern/rna_space.c +++ b/source/blender/makesrna/intern/rna_space.c @@ -2209,7 +2209,8 @@ static void rna_def_space_node(BlenderRNA *brna) RNA_def_property_clear_flag(prop, PROP_EDITABLE); RNA_def_property_ui_text(prop, "ID From", "Datablock from which the edited datablock is linked"); - 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, "nodetree"); RNA_def_property_clear_flag(prop, PROP_EDITABLE); RNA_def_property_ui_text(prop, "Node Tree", "Node tree being displayed and edited"); |