diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2008-11-29 17:35:50 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2008-11-29 17:35:50 +0300 |
commit | 97dcbbf88612fd89e0643e75994b82294bdabb2c (patch) | |
tree | 481e5560bc00ea76862eb196552174f9795a6e4c /source/blender/makesrna/intern/rna_nodetree.c | |
parent | 4fc369564a59aeb36ce7fcfd2c6ada43a2f80777 (diff) |
RNA
* Added more lamp properties. (patch by Michael Fox)
* Fix a number of warnings in the RNA code.
* Converted DOS line endings to UNIX.
* Added some information on defining ID structs, and fixed use
of "ID" inheritance for some non-ID structs.
* Added text on naming conventions to the RNA documentation, and
applied it to the current code.
http://wiki.blender.org/index.php/BlenderDev/Blender2.5/RNA#Naming_Conventions
Diffstat (limited to 'source/blender/makesrna/intern/rna_nodetree.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_nodetree.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_nodetree.c b/source/blender/makesrna/intern/rna_nodetree.c index 72f7534fa4d..a0d6a15d4eb 100644 --- a/source/blender/makesrna/intern/rna_nodetree.c +++ b/source/blender/makesrna/intern/rna_nodetree.c @@ -47,7 +47,7 @@ void RNA_def_nodetree(BlenderRNA *brna) RNA_def_property_collection_sdna(prop, NULL, "nodes", NULL); RNA_def_property_struct_type(prop, "Node"); RNA_def_property_flag(prop, PROP_NOT_EDITABLE); - RNA_def_property_ui_text(prop, "Nodes", "Nodes in the Node Tree."); + RNA_def_property_ui_text(prop, "Nodes", ""); srna= RNA_def_struct(brna, "Node", NULL, "Node"); RNA_def_struct_sdna(srna, "bNode"); @@ -56,7 +56,7 @@ void RNA_def_nodetree(BlenderRNA *brna) RNA_def_property_float_sdna(prop, NULL, "locx"); RNA_def_property_array(prop, 2); RNA_def_property_range(prop, -1000.0f, 1000.0f); - RNA_def_property_ui_text(prop, "Location", "Node Location"); + RNA_def_property_ui_text(prop, "Location", ""); } |