Tool System: per space/mode tool support
[blender.git] / source / blender / editors / sculpt_paint / sculpt.c
index 048555d3fcc56f0b87bcbca062e161116cdd6a97..709d6d4c690e5075a0c580abfa6d5498b9103112 100644 (file)
@@ -5820,6 +5820,8 @@ static int sculpt_mode_toggle_exec(bContext *C, wmOperator *op)
 
        WM_msg_publish_rna_prop(mbus, &ob->id, ob, Object, mode);
 
+       WM_toolsystem_update_from_context_view3d(C);
+
        return OPERATOR_FINISHED;
 }