Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2012-03-27 21:58:50 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2012-03-27 21:58:50 +0400
commitd421c7de0bae866952d240ec4a9b01f0bd40b59e (patch)
treecf2148fc1aff7c5f1ca18ac1e0846429fd51a709 /source
parentbb8fa67f7e0e1215d5c3c285ec7c8258a51fb239 (diff)
Fix related to #30674: remove unnecessary global undo push during image paint,
not needed since it already has local image undo stack.
Diffstat (limited to 'source')
-rw-r--r--source/blender/editors/sculpt_paint/paint_image.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_image.c b/source/blender/editors/sculpt_paint/paint_image.c
index 9139ccb9aa6..b6784e16cc6 100644
--- a/source/blender/editors/sculpt_paint/paint_image.c
+++ b/source/blender/editors/sculpt_paint/paint_image.c
@@ -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", "");