Tool System: per space/mode tool support
[blender.git] / source / blender / editors / sculpt_paint / paint_image.c
index cbf755d26b52e86d7f1ee97f537f452df6f17822..6a32fdecfada0a12093133f7ddac51bf96c72556 100644 (file)
@@ -1136,6 +1136,8 @@ static int texture_paint_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;
 }