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-04 03:07:47 +0300
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2008-12-04 03:07:47 +0300
commit8fc5d6e7de5d2b16a664fd4d31e788a98361b607 (patch)
treefe778b26539360484ebc856062ff9bac6e90b553 /source/blender/makesrna/intern/rna_lattice.c
parent853f2b0647ac0f969f545b800901f29f5a22dbc4 (diff)
RNA
* Remove some unnecessary defining of struct types for pointers. * Review of DNA_key_types.h and added Key for Mesh and Curve.
Diffstat (limited to 'source/blender/makesrna/intern/rna_lattice.c')
-rw-r--r--source/blender/makesrna/intern/rna_lattice.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/source/blender/makesrna/intern/rna_lattice.c b/source/blender/makesrna/intern/rna_lattice.c
index a7bc8d46128..1471d80e938 100644
--- a/source/blender/makesrna/intern/rna_lattice.c
+++ b/source/blender/makesrna/intern/rna_lattice.c
@@ -82,13 +82,10 @@ void RNA_def_lattice(BlenderRNA *brna)
RNA_def_property_boolean_sdna(prop, NULL, "flag", LT_OUTSIDE);
RNA_def_property_ui_text(prop, "Outside", "Only draw, and take into account, the outer vertices.");
- prop= RNA_def_property(srna, "ipo", PROP_POINTER, PROP_NONE);
- RNA_def_property_struct_type(prop, "Ipo");
- RNA_def_property_ui_text(prop, "Ipo", "");
+ rna_def_ipo_common(srna);
prop= RNA_def_property(srna, "key", PROP_POINTER, PROP_NONE);
- RNA_def_property_struct_type(prop, "Key");
- RNA_def_property_ui_text(prop, "Key", "");
+ RNA_def_property_ui_text(prop, "Shape Keys", "");
}
#endif