Fix #19834: text edit mode left/right was not work due to frame prev/next.
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Wed, 11 Nov 2009 14:30:12 +0000 (14:30 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Wed, 11 Nov 2009 14:30:12 +0000 (14:30 +0000)
source/blender/editors/space_view3d/space_view3d.c

index a755c8ffe76016eb3306b239b44fbf4ae469eb59..ebd1ab6dbfff7421f8b8d2679fb9bbf55686f3f7 100644 (file)
@@ -369,6 +369,9 @@ static void view3d_main_area_init(wmWindowManager *wm, ARegion *ar)
        keymap= WM_keymap_find(wm->defaultconf, "Object Non-modal", 0, 0);
        WM_event_add_keymap_handler(&ar->handlers, keymap);
 
+       keymap= WM_keymap_find(wm->defaultconf, "Frames", 0, 0);
+       WM_event_add_keymap_handler(&ar->handlers, keymap);
+
        /* own keymap, last so modes can override it */
        keymap= WM_keymap_find(wm->defaultconf, "View3D Generic", SPACE_VIEW3D, 0);
        WM_event_add_keymap_handler(&ar->handlers, keymap);
@@ -773,7 +776,7 @@ void ED_spacetype_view3d(void)
        /* regions: main window */
        art= MEM_callocN(sizeof(ARegionType), "spacetype view3d region");
        art->regionid = RGN_TYPE_WINDOW;
-       art->keymapflag= ED_KEYMAP_FRAMES|ED_KEYMAP_GPENCIL;
+       art->keymapflag= ED_KEYMAP_GPENCIL;
        art->draw= view3d_main_area_draw;
        art->init= view3d_main_area_init;
        art->free= view3d_main_area_free;