Animation Editors: Select Linked Operator
[blender.git] / source / blender / editors / space_graph / graph_ops.c
index 07a9034e526f370dd3be224022b7dd42741d7fb0..d3d2743200b80708e51575dbf1a46d45bf3d3878 100644 (file)
@@ -231,6 +231,7 @@ void graphedit_operatortypes(void)
        WM_operatortype_append(GRAPH_OT_select_all_toggle);
        WM_operatortype_append(GRAPH_OT_select_border);
        WM_operatortype_append(GRAPH_OT_select_column);
+       WM_operatortype_append(GRAPH_OT_select_linked);
        WM_operatortype_append(GRAPH_OT_select_more);
        WM_operatortype_append(GRAPH_OT_select_less);
        
@@ -318,6 +319,9 @@ static void graphedit_keymap_keyframes (wmKeyConfig *keyconf, wmKeyMap *keymap)
        WM_keymap_add_item(keymap, "GRAPH_OT_select_more", PADPLUSKEY, KM_PRESS, KM_CTRL, 0);
        WM_keymap_add_item(keymap, "GRAPH_OT_select_less", PADMINUS, KM_PRESS, KM_CTRL, 0);
        
+               /* select linked */
+       WM_keymap_add_item(keymap, "GRAPH_OT_select_linked", LKEY, KM_PRESS, 0, 0);
+       
        
        /* graph_edit.c */
                /* snap - current frame to selected keys */