2.5: X11
[blender.git] / source / blender / editors / sculpt_paint / paint_image.c
index a163ef5f8e29fe034d8e1340d683df82771e1e7f..720e64d260f6742c68c7582a73eb9d3415880cf0 100644 (file)
@@ -4804,7 +4804,7 @@ void PAINT_OT_image_paint(wmOperatorType *ot)
        ot->poll= image_paint_poll;
 
        /* flags */
-       ot->flag= OPTYPE_REGISTER|OPTYPE_UNDO;
+       ot->flag= OPTYPE_REGISTER|OPTYPE_UNDO|OPTYPE_BLOCKING;
 
        /* properties */
        RNA_def_collection_runtime(ot->srna, "stroke", &RNA_OperatorStrokeElement, "Stroke", "");
@@ -4911,7 +4911,7 @@ void PAINT_OT_image_paint_radial_control(wmOperatorType *ot)
        ot->poll= image_paint_poll;
        
        /* flags */
-       ot->flag= OPTYPE_REGISTER|OPTYPE_UNDO;
+       ot->flag= OPTYPE_REGISTER|OPTYPE_UNDO|OPTYPE_BLOCKING;
 }
 
 /************************ grab clone operator ************************/
@@ -5010,7 +5010,7 @@ void PAINT_OT_grab_clone(wmOperatorType *ot)
        ot->poll= image_paint_2d_clone_poll;
 
        /* flags */
-       ot->flag= OPTYPE_REGISTER|OPTYPE_UNDO;
+       ot->flag= OPTYPE_REGISTER|OPTYPE_UNDO|OPTYPE_BLOCKING;
 
        /* properties */
        RNA_def_float_vector(ot->srna, "delta", 2, NULL, -FLT_MAX, FLT_MAX, "Delta", "Delta offset of clone image in 0.0..1.0 coordinates.", -1.0f, 1.0f);