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_object_force.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_object_force.c')
-rw-r--r--source/blender/makesrna/intern/rna_object_force.c38
1 files changed, 19 insertions, 19 deletions
diff --git a/source/blender/makesrna/intern/rna_object_force.c b/source/blender/makesrna/intern/rna_object_force.c
index 4f4530e0424..d144ed5f28b 100644
--- a/source/blender/makesrna/intern/rna_object_force.c
+++ b/source/blender/makesrna/intern/rna_object_force.c
@@ -136,29 +136,29 @@ static void rna_def_field(BlenderRNA *brna)
PropertyRNA *prop;
static EnumPropertyItem field_type_items[] = {
- {0, "NONE", "None", ""},
- {PFIELD_FORCE, "SPHERICAL", "Spherical", ""},
- {PFIELD_VORTEX, "VORTEX", "Vortex", ""},
- {PFIELD_MAGNET, "MAGNET", "Magnetic", ""},
- {PFIELD_WIND, "WIND", "Wind", ""},
- {PFIELD_GUIDE, "GUIDE", "Curve Guide", ""},
- {PFIELD_TEXTURE, "TEXTURE", "Texture", ""},
- {PFIELD_HARMONIC, "HARMONIC", "Harmonic", ""},
- {PFIELD_CHARGE, "CHARGE", "Charge", ""},
- {PFIELD_LENNARDJ, "LENNARDJ", "Lennard-Jones", ""},
- {0, NULL, NULL, NULL}};
+ {0, "NONE", 0, "None", ""},
+ {PFIELD_FORCE, "SPHERICAL", 0, "Spherical", ""},
+ {PFIELD_VORTEX, "VORTEX", 0, "Vortex", ""},
+ {PFIELD_MAGNET, "MAGNET", 0, "Magnetic", ""},
+ {PFIELD_WIND, "WIND", 0, "Wind", ""},
+ {PFIELD_GUIDE, "GUIDE", 0, "Curve Guide", ""},
+ {PFIELD_TEXTURE, "TEXTURE", 0, "Texture", ""},
+ {PFIELD_HARMONIC, "HARMONIC", 0, "Harmonic", ""},
+ {PFIELD_CHARGE, "CHARGE", 0, "Charge", ""},
+ {PFIELD_LENNARDJ, "LENNARDJ", 0, "Lennard-Jones", ""},
+ {0, NULL, 0, NULL, NULL}};
static EnumPropertyItem falloff_items[] = {
- {PFIELD_FALL_SPHERE, "SPHERE", "Sphere", ""},
- {PFIELD_FALL_TUBE, "TUBE", "Tube", ""},
- {PFIELD_FALL_CONE, "CONE", "Cone", ""},
- {0, NULL, NULL, NULL}};
+ {PFIELD_FALL_SPHERE, "SPHERE", 0, "Sphere", ""},
+ {PFIELD_FALL_TUBE, "TUBE", 0, "Tube", ""},
+ {PFIELD_FALL_CONE, "CONE", 0, "Cone", ""},
+ {0, NULL, 0, NULL, NULL}};
static EnumPropertyItem texture_items[] = {
- {PFIELD_TEX_RGB, "RGB", "RGB", ""},
- {PFIELD_TEX_GRAD, "GRADIENT", "Gradient", ""},
- {PFIELD_TEX_CURL, "CURL", "Curl", ""},
- {0, NULL, NULL, NULL}};
+ {PFIELD_TEX_RGB, "RGB", 0, "RGB", ""},
+ {PFIELD_TEX_GRAD, "GRADIENT", 0, "Gradient", ""},
+ {PFIELD_TEX_CURL, "CURL", 0, "Curl", ""},
+ {0, NULL, 0, NULL, NULL}};
srna= RNA_def_struct(brna, "FieldSettings", NULL);
RNA_def_struct_sdna(srna, "PartDeflect");