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:
authorJacques Lucke <jacques@blender.org>2022-04-05 13:04:47 +0300
committerJacques Lucke <jacques@blender.org>2022-04-05 13:04:47 +0300
commitd88b821d285e275240ad9ec52921e409cb6a5d52 (patch)
tree03feb38bb1838972a88ba0c1ec8e7b2f7e2e4344 /source/blender
parent850b887339941ef38adf341ee3ac251c0eea6d90 (diff)
Fix: wrong operator return value
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/editors/sculpt_paint/curves_sculpt_ops.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/sculpt_paint/curves_sculpt_ops.cc b/source/blender/editors/sculpt_paint/curves_sculpt_ops.cc
index 208db92abf7..de53c118b20 100644
--- a/source/blender/editors/sculpt_paint/curves_sculpt_ops.cc
+++ b/source/blender/editors/sculpt_paint/curves_sculpt_ops.cc
@@ -796,7 +796,7 @@ static int curves_sculptmode_toggle_exec(bContext *C, wmOperator *op)
WM_toolsystem_update_from_context_view3d(C);
WM_event_add_notifier(C, NC_SCENE | ND_MODE, nullptr);
- return OPERATOR_CANCELLED;
+ return OPERATOR_FINISHED;
}
static void CURVES_OT_sculptmode_toggle(wmOperatorType *ot)