grab the mouse when dragging markers
authorCampbell Barton <ideasman42@gmail.com>
Mon, 8 Feb 2010 15:28:28 +0000 (15:28 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Mon, 8 Feb 2010 15:28:28 +0000 (15:28 +0000)
source/blender/editors/animation/anim_markers.c

index d64787ba35bb67c21e1c1629c803737f1152f9f9..38dcdd0c4054bc9b01f075d58be01c43f80efefa 100644 (file)
@@ -629,7 +629,7 @@ static void MARKER_OT_move(wmOperatorType *ot)
        ot->poll= ED_operator_areaactive;
        
        /* flags */
-       ot->flag= OPTYPE_REGISTER|OPTYPE_UNDO|OPTYPE_BLOCKING;
+       ot->flag= OPTYPE_REGISTER|OPTYPE_UNDO|OPTYPE_BLOCKING|OPTYPE_GRAB_POINTER;
        
        /* rna storage */
        RNA_def_int(ot->srna, "frames", 0, INT_MIN, INT_MAX, "Frames", "", INT_MIN, INT_MAX);