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_actuator.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_actuator.c')
-rw-r--r--source/blender/makesrna/intern/rna_actuator.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/source/blender/makesrna/intern/rna_actuator.c b/source/blender/makesrna/intern/rna_actuator.c
index a6e359a6585..4ed4fe1d72e 100644
--- a/source/blender/makesrna/intern/rna_actuator.c
+++ b/source/blender/makesrna/intern/rna_actuator.c
@@ -47,7 +47,7 @@ void RNA_def_actuator(BlenderRNA *brna)
{ACT_SOUND, "SOUND", "Sound", ""},
{ACT_PROPERTY, "PROPERTY", "Property", ""},
{ACT_CONSTRAINT, "CONSTRAINT", "Constraint", ""},
- {ACT_EDIT_OBJECT, "EDITOBJECT", "Edit Object", ""},
+ {ACT_EDIT_OBJECT, "EDIT_OBJECT", "Edit Object", ""},
{ACT_SCENE, "SCENE", "Scene", ""},
{ACT_RANDOM, "RANDOM", "Random", ""},
{ACT_MESSAGE, "MESSAGE", "Message", ""},
@@ -55,19 +55,18 @@ void RNA_def_actuator(BlenderRNA *brna)
{ACT_CD, "CD", "CD", ""},
{ACT_GAME, "GAME", "Game", ""},
{ACT_VISIBILITY, "VISIBILITY", "Visibility", ""},
- {ACT_2DFILTER, "TWODFILTER", "2D Filter", ""},
+ {ACT_2DFILTER, "FILTER_2D", "2D Filter", ""},
{ACT_PARENT, "PARENT", "Parent", ""},
- {ACT_SHAPEACTION, "SHAPEACTION", "Shape Action", ""},
+ {ACT_SHAPEACTION, "SHAPE_ACTION", "Shape Action", ""},
{ACT_STATE, "STATE", "State", ""},
{0, NULL, NULL, NULL}};
srna= RNA_def_struct(brna, "Actuator", NULL);
- RNA_def_struct_ui_text(srna, "Actuator", "logic brick to apply actions in the game engine");
+ RNA_def_struct_ui_text(srna, "Actuator", "Game engine logic brick to apply actions in the game engine.");
RNA_def_struct_sdna(srna, "bActuator");
- prop= RNA_def_property(srna, "actuator_name", PROP_STRING, PROP_NONE);
- RNA_def_property_string_sdna(prop, NULL, "name");
+ prop= RNA_def_property(srna, "name", PROP_STRING, PROP_NONE);
RNA_def_property_ui_text(prop, "Name", "");
/* type is not editable, would need to do proper data free/alloc */