Cleanup: make 'deselect_all' properties PROP_SKIP_SAVE.
Forgot to do that for some in previous commits, that kind of props are better with 'skip save' behavior (simpler to handle in keyconfigs).
This commit is contained in:
parent
080d72a257
commit
7f75017635
|
@ -581,15 +581,17 @@ void NODE_OT_select(wmOperatorType *ot)
|
|||
ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO;
|
||||
|
||||
/* properties */
|
||||
PropertyRNA *prop;
|
||||
RNA_def_int(ot->srna, "mouse_x", 0, INT_MIN, INT_MAX, "Mouse X", "", INT_MIN, INT_MAX);
|
||||
RNA_def_int(ot->srna, "mouse_y", 0, INT_MIN, INT_MAX, "Mouse Y", "", INT_MIN, INT_MAX);
|
||||
RNA_def_boolean(ot->srna, "extend", false, "Extend", "");
|
||||
RNA_def_boolean(ot->srna, "socket_select", false, "Socket Select", "");
|
||||
RNA_def_boolean(ot->srna,
|
||||
"deselect_all",
|
||||
false,
|
||||
"Deselect On Nothing",
|
||||
"Deselect all when nothing under the cursor");
|
||||
prop = RNA_def_boolean(ot->srna,
|
||||
"deselect_all",
|
||||
false,
|
||||
"Deselect On Nothing",
|
||||
"Deselect all when nothing under the cursor");
|
||||
RNA_def_property_flag(prop, PROP_SKIP_SAVE);
|
||||
}
|
||||
|
||||
/** \} */
|
||||
|
|
|
@ -1371,13 +1371,15 @@ void OUTLINER_OT_item_activate(wmOperatorType *ot)
|
|||
|
||||
ot->poll = ED_operator_outliner_active;
|
||||
|
||||
PropertyRNA *prop;
|
||||
RNA_def_boolean(ot->srna, "extend", true, "Extend", "Extend selection for activation");
|
||||
RNA_def_boolean(ot->srna, "recursive", false, "Recursive", "Select Objects and their children");
|
||||
RNA_def_boolean(ot->srna,
|
||||
"deselect_all",
|
||||
false,
|
||||
"Deselect On Nothing",
|
||||
"Deselect all when nothing under the cursor");
|
||||
prop = RNA_def_boolean(ot->srna,
|
||||
"deselect_all",
|
||||
false,
|
||||
"Deselect On Nothing",
|
||||
"Deselect all when nothing under the cursor");
|
||||
RNA_def_property_flag(prop, PROP_SKIP_SAVE);
|
||||
}
|
||||
|
||||
/* ****************************************************** */
|
||||
|
|
Loading…
Reference in New Issue