Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2009-01-11 01:57:33 +0300
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2009-01-11 01:57:33 +0300
commit7cd4e2781afcc164232ef7b9ea5cd3fc20165dea (patch)
treee729a87c98127a12b7f58810e00324f95e1cae1f /source/blender/makesrna/intern/rna_nodetree.c
parent6ab86a7572435c3df0a3c613bca8a3d0566e39e7 (diff)
RNA
* Finished DNA_lamp_types.h, DNA_world_types.h and DNA_sound_types.h. * Renamed "parent" struct property to "nested", and also remaining "from" usage to "base". * Added a NEVER_NULL subtype for pointers and use it for all properties that apply. * Make sure all structs have a description, and fix any other DOC_BROKEN descriptions, also many other naming consistency improvements.
Diffstat (limited to 'source/blender/makesrna/intern/rna_nodetree.c')
-rw-r--r--source/blender/makesrna/intern/rna_nodetree.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/source/blender/makesrna/intern/rna_nodetree.c b/source/blender/makesrna/intern/rna_nodetree.c
index 60783337de4..508b8fd1fef 100644
--- a/source/blender/makesrna/intern/rna_nodetree.c
+++ b/source/blender/makesrna/intern/rna_nodetree.c
@@ -51,29 +51,29 @@ static void rna_def_node(BlenderRNA *brna)
{SH_NODE_MATERIAL, "MATERIAL", "Material", ""},
{SH_NODE_RGB, "RGB", "RGB", ""},
{SH_NODE_VALUE, "VALUE", "Value", ""},
- {SH_NODE_MIX_RGB, "MIXRGB", "Mix", ""},
- {SH_NODE_VALTORGB, "VALTORGB", "Value to RGB", ""},
- {SH_NODE_RGBTOBW, "RGBTOBW", "RGB to BW", ""},
+ {SH_NODE_MIX_RGB, "MIX_RGB", "Mix RGB", ""},
+ {SH_NODE_VALTORGB, "VALUE_TO_RGB", "Value to RGB", ""},
+ {SH_NODE_RGBTOBW, "RGB_TO_BW", "RGB to BW", ""},
{SH_NODE_TEXTURE, "TEXTURE", "Texture", ""},
{SH_NODE_NORMAL, "NORMAL", "Normal", ""},
{SH_NODE_GEOMETRY, "GEOMETRY", "Geometry", ""},
{SH_NODE_MAPPING, "MAPPING", "Mapping", ""},
- {SH_NODE_CURVE_VEC, "CURVEVEC", "Vector Curves", ""},
- {SH_NODE_CURVE_RGB, "CURVERGB", "RGB Curves", ""},
+ {SH_NODE_CURVE_VEC, "VECTOR_CURVES", "Vector Curves", ""},
+ {SH_NODE_CURVE_RGB, "RGB_CURVES", "RGB Curves", ""},
{SH_NODE_CAMERA, "CAMERA", "Camera", ""},
{SH_NODE_MATH, "MATH", "Math", ""},
- {SH_NODE_VECT_MATH, "VECTMATH", "Vector Math", ""},
+ {SH_NODE_VECT_MATH, "VECTOR_MATH", "Vector Math", ""},
{SH_NODE_SQUEEZE, "SQUEEZE", "Squeeze", ""},
- {SH_NODE_MATERIAL_EXT, "MATEXT", "Material Extended", ""},
+ {SH_NODE_MATERIAL_EXT, "MATERIAL_EXTENDED", "Material Extended", ""},
{SH_NODE_INVERT, "INVERT", "Invert", ""},
- {SH_NODE_SEPRGB, "SEPRGB", "Seperate RGB", ""},
- {SH_NODE_COMBRGB, "COMBRGB", "Combine RGB", ""},
- {SH_NODE_HUE_SAT, "HUESAT", "Hue/Saturation", ""},
- {NODE_DYNAMIC, "DYNAMIC", "Scripted Node", ""},
+ {SH_NODE_SEPRGB, "SEPARATE_RGB", "Seperate RGB", ""},
+ {SH_NODE_COMBRGB, "COMBINE_RGB", "Combine RGB", ""},
+ {SH_NODE_HUE_SAT, "HUE_SATURATION", "Hue/Saturation", ""},
+ {NODE_DYNAMIC, "SCRIPT", "Script", ""},
{0, NULL, NULL, NULL}};
srna= RNA_def_struct(brna, "Node", NULL);
- RNA_def_struct_ui_text(srna, "Node", "DOC_BROKEN");
+ RNA_def_struct_ui_text(srna, "Node", "Node in a node tree.");
RNA_def_struct_sdna(srna, "bNode");
prop= RNA_def_property(srna, "location", PROP_FLOAT, PROP_VECTOR);
@@ -98,7 +98,7 @@ void RNA_def_nodetree(BlenderRNA *brna)
PropertyRNA *prop;
srna= RNA_def_struct(brna, "NodeTree", "ID");
- RNA_def_struct_ui_text(srna, "Node Tree", "DOC_BROKEN");
+ RNA_def_struct_ui_text(srna, "Node Tree", "Node tree consisting of linked nodes used for materials, textures and compositing.");
RNA_def_struct_sdna(srna, "bNodeTree");
prop= RNA_def_property(srna, "nodes", PROP_COLLECTION, PROP_NONE);