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>2008-12-03 23:17:12 +0300
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2008-12-03 23:17:12 +0300
commit8360dc066c7d12ec9b8e96ad399f23f9c873f691 (patch)
treeac75707c40050644248a1548c734ff3f141acc65 /source/blender/makesrna/intern/rna_lattice.c
parenta9374c5941641b8f7322b6b2c7ad83892b5b214d (diff)
RNA
* Added a function to define booleans negative, to turn negative properties into positive ones gettin rid of the no_ prefix, and also got rid of the use_ prefix for two booleans. * Also made the function for enum bitflags separate, this is quite rare so don't need to bother with this in most cases. * Removed svn:executable flags from some files.
Diffstat (limited to 'source/blender/makesrna/intern/rna_lattice.c')
-rw-r--r--source/blender/makesrna/intern/rna_lattice.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/makesrna/intern/rna_lattice.c b/source/blender/makesrna/intern/rna_lattice.c
index e4e82b3f065..89299e1c6ca 100644
--- a/source/blender/makesrna/intern/rna_lattice.c
+++ b/source/blender/makesrna/intern/rna_lattice.c
@@ -64,17 +64,17 @@ void RNA_def_lattice(BlenderRNA *brna)
RNA_def_property_ui_text(prop, "W", "Points in W direction.");
prop= RNA_def_property(srna, "interpolation_type_u", PROP_ENUM, PROP_NONE);
- RNA_def_property_enum_sdna(prop, NULL, "typeu", 0);
+ RNA_def_property_enum_sdna(prop, NULL, "typeu");
RNA_def_property_enum_items(prop, prop_keyblock_type_items);
RNA_def_property_ui_text(prop, "Interpolation Type U", "");
prop= RNA_def_property(srna, "interpolation_type_v", PROP_ENUM, PROP_NONE);
- RNA_def_property_enum_sdna(prop, NULL, "typev", 0);
+ RNA_def_property_enum_sdna(prop, NULL, "typev");
RNA_def_property_enum_items(prop, prop_keyblock_type_items);
RNA_def_property_ui_text(prop, "Interpolation Type V", "");
prop= RNA_def_property(srna, "interpolation_type_w", PROP_ENUM, PROP_NONE);
- RNA_def_property_enum_sdna(prop, NULL, "typew", 0);
+ RNA_def_property_enum_sdna(prop, NULL, "typew");
RNA_def_property_enum_items(prop, prop_keyblock_type_items);
RNA_def_property_ui_text(prop, "Interpolation Type W", "");