Fix related to #30674: remove unnecessary global undo push during image paint,

not needed since it already has local image undo stack.
This commit is contained in:
Brecht Van Lommel
2012-03-27 17:58:50 +00:00
parent bb8fa67f7e
commit d421c7de0b

View File

@@ -5129,7 +5129,7 @@ void PAINT_OT_image_paint(wmOperatorType *ot)
ot->poll = image_paint_poll;
/* flags */
ot->flag = OPTYPE_REGISTER|OPTYPE_UNDO|OPTYPE_BLOCKING;
ot->flag = OPTYPE_REGISTER|OPTYPE_BLOCKING;
/* properties */
RNA_def_collection_runtime(ot->srna, "stroke", &RNA_OperatorStrokeElement, "Stroke", "");