diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-07-19 15:40:25 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-07-19 15:40:25 +0400 |
commit | 776c6e66b2064f2a6934a726f4fcc317b709d6fd (patch) | |
tree | a41fc64e6adb820b0fd35a1c8c2e344451e33a88 /source/blender/makesrna/intern/rna_lattice.c | |
parent | a56f4fee38e17d05964941a5edc2850c217309d7 (diff) |
add lattice selection to rna
Diffstat (limited to 'source/blender/makesrna/intern/rna_lattice.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_lattice.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_lattice.c b/source/blender/makesrna/intern/rna_lattice.c index 6e42b47afce..d4082cf3d9f 100644 --- a/source/blender/makesrna/intern/rna_lattice.c +++ b/source/blender/makesrna/intern/rna_lattice.c @@ -224,6 +224,10 @@ static void rna_def_latticepoint(BlenderRNA *brna) RNA_def_struct_ui_text(srna, "LatticePoint", "Point in the lattice grid"); RNA_def_struct_path_func(srna, "rna_LatticePoint_path"); + prop = RNA_def_property(srna, "select", PROP_BOOLEAN, PROP_NONE); + RNA_def_property_boolean_sdna(prop, NULL, "f1", 0); + RNA_def_property_ui_text(prop, "Point selected", "Selection status"); + prop = RNA_def_property(srna, "co", PROP_FLOAT, PROP_TRANSLATION); RNA_def_property_array(prop, 3); RNA_def_property_clear_flag(prop, PROP_EDITABLE); |