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-06-16 04:52:21 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2009-06-16 04:52:21 +0400
commit51fbc95e8c8699cd9ba2f7b1958df7270851af39 (patch)
tree3e2f2ce8595f38d79116ff1026a6995dc373b092 /source/blender/makesrna/intern/rna_actuator.c
parent32cf82dbb394fa454a2bc0b93d166d1091b3c25e (diff)
RNA
* Added icon to property and enum property items. The latter is responsible for the large number of files changed. * For RNA functions, added PROP_RNAPTR flag to ask for a PointerRNA as argument instead of a C pointer, instead of doing it implicitly with the AnyType type. * Material: properly wrap diffuse/specular param variables, and rename some things for consistency. * MaterialTextureSlot: added "enabled" property (ma->septex). * Image: make animated property editable. * Image Editor: make some things editable, notifiers, respect state. * Context: fix issue with screen not being set as ID.
Diffstat (limited to 'source/blender/makesrna/intern/rna_actuator.c')
-rw-r--r--source/blender/makesrna/intern/rna_actuator.c38
1 files changed, 19 insertions, 19 deletions
diff --git a/source/blender/makesrna/intern/rna_actuator.c b/source/blender/makesrna/intern/rna_actuator.c
index 531ae1e2790..3eb88e706e9 100644
--- a/source/blender/makesrna/intern/rna_actuator.c
+++ b/source/blender/makesrna/intern/rna_actuator.c
@@ -41,25 +41,25 @@ void RNA_def_actuator(BlenderRNA *brna)
PropertyRNA *prop;
static EnumPropertyItem actuator_type_items[] ={
- {ACT_OBJECT, "OBJECT", "Object", ""},
- {ACT_IPO, "IPO", "IPO", ""},
- {ACT_CAMERA, "CAMERA", "Camera", ""},
- {ACT_SOUND, "SOUND", "Sound", ""},
- {ACT_PROPERTY, "PROPERTY", "Property", ""},
- {ACT_CONSTRAINT, "CONSTRAINT", "Constraint", ""},
- {ACT_EDIT_OBJECT, "EDIT_OBJECT", "Edit Object", ""},
- {ACT_SCENE, "SCENE", "Scene", ""},
- {ACT_RANDOM, "RANDOM", "Random", ""},
- {ACT_MESSAGE, "MESSAGE", "Message", ""},
- {ACT_ACTION, "ACTION", "Action", ""},
- {ACT_CD, "CD", "CD", ""},
- {ACT_GAME, "GAME", "Game", ""},
- {ACT_VISIBILITY, "VISIBILITY", "Visibility", ""},
- {ACT_2DFILTER, "FILTER_2D", "2D Filter", ""},
- {ACT_PARENT, "PARENT", "Parent", ""},
- {ACT_SHAPEACTION, "SHAPE_ACTION", "Shape Action", ""},
- {ACT_STATE, "STATE", "State", ""},
- {0, NULL, NULL, NULL}};
+ {ACT_OBJECT, "OBJECT", 0, "Object", ""},
+ {ACT_IPO, "IPO", 0, "IPO", ""},
+ {ACT_CAMERA, "CAMERA", 0, "Camera", ""},
+ {ACT_SOUND, "SOUND", 0, "Sound", ""},
+ {ACT_PROPERTY, "PROPERTY", 0, "Property", ""},
+ {ACT_CONSTRAINT, "CONSTRAINT", 0, "Constraint", ""},
+ {ACT_EDIT_OBJECT, "EDIT_OBJECT", 0, "Edit Object", ""},
+ {ACT_SCENE, "SCENE", 0, "Scene", ""},
+ {ACT_RANDOM, "RANDOM", 0, "Random", ""},
+ {ACT_MESSAGE, "MESSAGE", 0, "Message", ""},
+ {ACT_ACTION, "ACTION", 0, "Action", ""},
+ {ACT_CD, "CD", 0, "CD", ""},
+ {ACT_GAME, "GAME", 0, "Game", ""},
+ {ACT_VISIBILITY, "VISIBILITY", 0, "Visibility", ""},
+ {ACT_2DFILTER, "FILTER_2D", 0, "2D Filter", ""},
+ {ACT_PARENT, "PARENT", 0, "Parent", ""},
+ {ACT_SHAPEACTION, "SHAPE_ACTION", 0, "Shape Action", ""},
+ {ACT_STATE, "STATE", 0, "State", ""},
+ {0, NULL, 0, NULL, NULL}};
srna= RNA_def_struct(brna, "Actuator", NULL);
RNA_def_struct_ui_text(srna, "Actuator", "Game engine logic brick to apply actions in the game engine.");