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
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-01-31 10:48:59 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-01-31 10:51:14 +0300
commit8f4b7d706b0e9d032ee2c5fff6467bbd68763ba0 (patch)
tree4b241b226a9ddb199900e92b73354f51132849e5 /source/blender
parent77254df48045508512b3346871ca42e72fdfc83b (diff)
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.
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/editors/sculpt_paint/paint_mask.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_mask.c b/source/blender/editors/sculpt_paint/paint_mask.c
index 3f193de9031..ca2c5044e42 100644
--- a/source/blender/editors/sculpt_paint/paint_mask.c
+++ b/source/blender/editors/sculpt_paint/paint_mask.c
@@ -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);