Fix for step-by-step tracking issue caused by operator presets changes
authorSergey Sharybin <sergey.vfx@gmail.com>
Thu, 22 Mar 2012 21:33:52 +0000 (21:33 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Thu, 22 Mar 2012 21:33:52 +0000 (21:33 +0000)
source/blender/editors/space_clip/space_clip.c

index a92830e1992f3bafec49682f8adcd8ea645bd5b8..48e5f74ee85bad4f83097d2272e61eabf4db9aff 100644 (file)
@@ -411,7 +411,9 @@ static void clip_keymap(struct wmKeyConfig *keyconf)
        kmi= WM_keymap_add_item(keymap, "CLIP_OT_track_markers", LEFTARROWKEY, KM_PRESS, KM_ALT, 0);
        RNA_boolean_set(kmi->ptr, "backwards", TRUE);
        RNA_boolean_set(kmi->ptr, "sequence", FALSE);
-       WM_keymap_add_item(keymap, "CLIP_OT_track_markers", RIGHTARROWKEY, KM_PRESS, KM_ALT, 0);
+       kmi= WM_keymap_add_item(keymap, "CLIP_OT_track_markers", RIGHTARROWKEY, KM_PRESS, KM_ALT, 0);
+       RNA_boolean_set(kmi->ptr, "backwards", FALSE);
+       RNA_boolean_set(kmi->ptr, "sequence", FALSE);
        kmi= WM_keymap_add_item(keymap, "CLIP_OT_track_markers", TKEY, KM_PRESS, KM_CTRL, 0);
        RNA_boolean_set(kmi->ptr, "backwards", FALSE);
        RNA_boolean_set(kmi->ptr, "sequence", TRUE);