Fix T98924: Skip saving selection properties for UV edge ring operator
Oversight in rB7724251af81f. Skip saving selection properties for UV edge ring operator as it allows the operator to re-use the value that was previously set using the key-map. Reviewed By: campbellbarton Maniphest Tasks: T98924 Differential Revision: https://developer.blender.org/D15214
This commit is contained in:
parent
c257443192
commit
33be9c0885
Notes:
blender-bot
2023-02-14 03:13:26 +01:00
Referenced by issue #98924, UV Editor: keymap "Edge Ring Select" always extend selection (with enabled or disabled checkbox)
|
@ -2935,12 +2935,14 @@ void UV_OT_select_edge_ring(wmOperatorType *ot)
|
|||
ot->poll = ED_operator_uvedit; /* requires space image */
|
||||
|
||||
/* properties */
|
||||
RNA_def_boolean(ot->srna,
|
||||
"extend",
|
||||
0,
|
||||
"Extend",
|
||||
"Extend selection rather than clearing the existing selection");
|
||||
RNA_def_float_vector(
|
||||
PropertyRNA *prop;
|
||||
prop = RNA_def_boolean(ot->srna,
|
||||
"extend",
|
||||
0,
|
||||
"Extend",
|
||||
"Extend selection rather than clearing the existing selection");
|
||||
RNA_def_property_flag(prop, PROP_SKIP_SAVE);
|
||||
prop = RNA_def_float_vector(
|
||||
ot->srna,
|
||||
"location",
|
||||
2,
|
||||
|
@ -2951,6 +2953,7 @@ void UV_OT_select_edge_ring(wmOperatorType *ot)
|
|||
"Mouse location in normalized coordinates, 0.0 to 1.0 is within the image bounds",
|
||||
-100.0f,
|
||||
100.0f);
|
||||
RNA_def_property_flag(prop, PROP_SKIP_SAVE);
|
||||
}
|
||||
|
||||
/** \} */
|
||||
|
|
Loading…
Reference in New Issue