Fix #35473: Using Redo panel in View3D after Grease Pencil action moves GP layer to that area
Remove REGISTER flag from GP draw operator, so redo wouldn't screw up regions.
This commit is contained in:
@@ -2051,7 +2051,7 @@ void GPENCIL_OT_draw(wmOperatorType *ot)
|
||||
ot->poll = gpencil_draw_poll;
|
||||
|
||||
/* flags */
|
||||
ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO | OPTYPE_BLOCKING;
|
||||
ot->flag = OPTYPE_UNDO | OPTYPE_BLOCKING;
|
||||
|
||||
/* settings for drawing */
|
||||
ot->prop = RNA_def_enum(ot->srna, "mode", prop_gpencil_drawmodes, 0, "Mode", "Way to interpret mouse movements");
|
||||
|
||||
Reference in New Issue
Block a user