2.5: X11
[blender.git] / source / blender / editors / armature / editarmature_sketch.c
index 33351c99828f450975f938f4936fb803a1678cd3..af1ed3e27461447b09b10505046bde45b5593efb 100644 (file)
@@ -3463,7 +3463,7 @@ void SKETCH_OT_draw_stroke(wmOperatorType *ot)
        RNA_def_boolean(ot->srna, "snap", 0, "Snap", "");
 
        /* flags */
-//     ot->flag= OPTYPE_REGISTER|OPTYPE_UNDO;
+       ot->flag= OPTYPE_BLOCKING; // OPTYPE_REGISTER|OPTYPE_UNDO
 }
 
 void SKETCH_OT_gesture(wmOperatorType *ot)
@@ -3482,5 +3482,6 @@ void SKETCH_OT_gesture(wmOperatorType *ot)
        RNA_def_boolean(ot->srna, "snap", 0, "Snap", "");
 
        /* flags */
-//     ot->flag= OPTYPE_UNDO;
+       ot->flag= OPTYPE_BLOCKING; // OPTYPE_UNDO
 }
+