Fix T41421
Don't store selection properties, if those are set in the keymap we can end uo locking one state forever.
This commit is contained in:
parent
9a29b0f155
commit
513b8ddf06
Notes:
blender-bot
2023-02-14 10:13:04 +01:00
Referenced by issue #41421, view3d.select Bug (Custom Setup)
|
@ -1312,9 +1312,14 @@ void WM_operator_properties_gesture_border(wmOperatorType *ot, bool extend)
|
|||
|
||||
void WM_operator_properties_mouse_select(wmOperatorType *ot)
|
||||
{
|
||||
RNA_def_boolean(ot->srna, "extend", 0, "Extend", "Extend selection instead of deselecting everything first");
|
||||
RNA_def_boolean(ot->srna, "deselect", 0, "Deselect", "Remove from selection");
|
||||
RNA_def_boolean(ot->srna, "toggle", 0, "Toggle Selection", "Toggle the selection");
|
||||
PropertyRNA *prop;
|
||||
|
||||
prop = RNA_def_boolean(ot->srna, "extend", 0, "Extend", "Extend selection instead of deselecting everything first");
|
||||
RNA_def_property_flag(prop, PROP_SKIP_SAVE);
|
||||
prop = RNA_def_boolean(ot->srna, "deselect", 0, "Deselect", "Remove from selection");
|
||||
RNA_def_property_flag(prop, PROP_SKIP_SAVE);
|
||||
prop = RNA_def_boolean(ot->srna, "toggle", 0, "Toggle Selection", "Toggle the selection");
|
||||
RNA_def_property_flag(prop, PROP_SKIP_SAVE);
|
||||
}
|
||||
|
||||
void WM_operator_properties_gesture_straightline(wmOperatorType *ot, int cursor)
|
||||
|
|
Loading…
Reference in New Issue