Sculpt: Register sculpt brush op so it clears last operator panel
Needed to prevent changing values in the last operator panel from destructively undoing brush steps.
This commit is contained in:
@@ -5656,7 +5656,7 @@ void SCULPT_OT_brush_stroke(wmOperatorType *ot)
|
||||
ot->cancel = sculpt_brush_stroke_cancel;
|
||||
|
||||
/* Flags (sculpt does own undo? (ton)). */
|
||||
ot->flag = OPTYPE_BLOCKING;
|
||||
ot->flag = OPTYPE_BLOCKING | OPTYPE_REGISTER | OPTYPE_UNDO;
|
||||
|
||||
/* Properties. */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user