Bugfix [#26505] zoom in selected keys on graph editor
[blender.git] / source / blender / editors / space_action / action_ops.c
index 6c3258e863910af5e640b6ae616dedfc65229584..b6fbc34550f2d8dd9f8c14a5208875bf00b73e72 100644 (file)
@@ -84,6 +84,7 @@ void action_operatortypes(void)
        
        WM_operatortype_append(ACTION_OT_previewrange_set);
        WM_operatortype_append(ACTION_OT_view_all);
+       WM_operatortype_append(ACTION_OT_view_selected);
        
        WM_operatortype_append(ACTION_OT_markers_make_local);
 }
@@ -181,6 +182,7 @@ static void action_keymap_keyframes (wmKeyConfig *keyconf, wmKeyMap *keymap)
                /* auto-set range */
        WM_keymap_add_item(keymap, "ACTION_OT_previewrange_set", PKEY, KM_PRESS, KM_CTRL|KM_ALT, 0);
        WM_keymap_add_item(keymap, "ACTION_OT_view_all", HOMEKEY, KM_PRESS, 0, 0);
+       WM_keymap_add_item(keymap, "ACTION_OT_view_selected", PADPERIOD, KM_PRESS, 0, 0);
        
        /* animation module */
                /* channels list