Commit: d88b821d285e275240ad9ec52921e409cb6a5d52 Author: Jacques Lucke Date: Tue Apr 5 12:04:47 2022 +0200 Branches: master https://developer.blender.org/rBd88b821d285e275240ad9ec52921e409cb6a5d52
Fix: wrong operator return value =================================================================== M source/blender/editors/sculpt_paint/curves_sculpt_ops.cc =================================================================== 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) _______________________________________________ Bf-blender-cvs mailing list [email protected] List details, subscription details or unsubscribe: https://lists.blender.org/mailman/listinfo/bf-blender-cvs
