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/editors/physics
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/editors/physics')
-rw-r--r--source/blender/editors/physics/editparticle.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/source/blender/editors/physics/editparticle.c b/source/blender/editors/physics/editparticle.c
index 0947f540fc6..a9fc65bdc37 100644
--- a/source/blender/editors/physics/editparticle.c
+++ b/source/blender/editors/physics/editparticle.c
@@ -2347,8 +2347,8 @@ void PARTICLE_OT_brush_radial_control(wmOperatorType *ot)
enum { DEL_PARTICLE, DEL_KEY };
static EnumPropertyItem delete_type_items[]= {
- {DEL_PARTICLE, "PARTICLE", "Particle", ""},
- {DEL_KEY, "KEY", "Key", ""},
+ {DEL_PARTICLE, "PARTICLE", 0, "Particle", ""},
+ {DEL_KEY, "KEY", 0, "Key", ""},
{0, NULL, NULL}};
static void set_delete_particle(PEData *data, int pa_index)
@@ -2563,15 +2563,15 @@ void PARTICLE_OT_mirror(wmOperatorType *ot)
/*********************** set brush operator **********************/
static EnumPropertyItem brush_type_items[]= {
- {PE_BRUSH_NONE, "NONE", "None", ""},
- {PE_BRUSH_COMB, "COMB", "Comb", ""},
- {PE_BRUSH_SMOOTH, "SMOOTH", "Smooth", ""},
- {PE_BRUSH_WEIGHT, "WEIGHT", "Weight", ""},
- {PE_BRUSH_ADD, "ADD", "Add", ""},
- {PE_BRUSH_LENGTH, "LENGTH", "Length", ""},
- {PE_BRUSH_PUFF, "PUFF", "Puff", ""},
- {PE_BRUSH_CUT, "CUT", "Cut", ""},
- {0, NULL, NULL, NULL}
+ {PE_BRUSH_NONE, "NONE", 0, "None", ""},
+ {PE_BRUSH_COMB, "COMB", 0, "Comb", ""},
+ {PE_BRUSH_SMOOTH, "SMOOTH", 0, "Smooth", ""},
+ {PE_BRUSH_WEIGHT, "WEIGHT", 0, "Weight", ""},
+ {PE_BRUSH_ADD, "ADD", 0, "Add", ""},
+ {PE_BRUSH_LENGTH, "LENGTH", 0, "Length", ""},
+ {PE_BRUSH_PUFF, "PUFF", 0, "Puff", ""},
+ {PE_BRUSH_CUT, "CUT", 0, "Cut", ""},
+ {0, NULL, 0, NULL, NULL}
};
static int set_brush_exec(bContext *C, wmOperator *op)