Sculpt: disable undo flag for sculpt mask lasso
While this is harmless, it did cause T55399 in the past. Sculpt adds it's own undo steps, so don't request the operator type to do it too. This is consistent with other sculpt operators.
This commit is contained in:
parent
77254df480
commit
8f4b7d706b
Notes:
blender-bot
2023-02-14 05:45:32 +01:00
Referenced by issue #61035, Draw manager crash opening file with curves Referenced by issue #55399, Double undo in sculpt mode after lasso mask. Follow up for Maniphest T55033
|
@ -535,7 +535,7 @@ void PAINT_OT_mask_lasso_gesture(wmOperatorType *ot)
|
|||
|
||||
ot->poll = sculpt_mode_poll;
|
||||
|
||||
ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO;
|
||||
ot->flag = OPTYPE_REGISTER;
|
||||
|
||||
/* properties */
|
||||
WM_operator_properties_gesture_lasso(ot);
|
||||
|
|
Loading…
Reference in New Issue