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:
authorCampbell Barton <ideasman42@gmail.com>2021-01-06 15:24:45 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-01-06 15:27:03 +0300
commit967cf303f32fa5a920c34c934d63e0f3c582b886 (patch)
treea9e3ccc2c03cf00c042a1d9b8f626a50855f3e40 /source/blender/makesrna/intern/rna_lattice.c
parentbc3e38ca3a4228b7191e9fec39288c9f37ec53b1 (diff)
Fix T83372: Point.select can be True when unselected
Diffstat (limited to 'source/blender/makesrna/intern/rna_lattice.c')
-rw-r--r--source/blender/makesrna/intern/rna_lattice.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_lattice.c b/source/blender/makesrna/intern/rna_lattice.c
index fbbee1f5900..25472ce9520 100644
--- a/source/blender/makesrna/intern/rna_lattice.c
+++ b/source/blender/makesrna/intern/rna_lattice.c
@@ -24,6 +24,7 @@
#include "DNA_key_types.h"
#include "DNA_lattice_types.h"
#include "DNA_meshdata_types.h"
+#include "DNA_object_types.h"
#include "BLI_utildefines.h"
@@ -268,7 +269,7 @@ static void rna_def_latticepoint(BlenderRNA *brna)
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_boolean_sdna(prop, NULL, "f1", SELECT);
RNA_def_property_ui_text(prop, "Point selected", "Selection status");
prop = RNA_def_property(srna, "co", PROP_FLOAT, PROP_TRANSLATION);