mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
Fix T83372: Point.select can be True when unselected
This commit is contained in:
parent
9f6374650a
commit
4be9df7692
2 changed files with 3 additions and 2 deletions
|
|
@ -876,7 +876,7 @@ static void rna_def_bpoint(BlenderRNA *brna)
|
|||
|
||||
/* Boolean values */
|
||||
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, "Select", "Selection status");
|
||||
RNA_def_property_update(prop, 0, "rna_Curve_update_data");
|
||||
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue