[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [25573] trunk/blender/source/blender/ editors: DopeSheet + Graph Editor hotkey tweak:
Joshua Leung
aligorith at gmail.com
Sun Dec 27 02:36:33 CET 2009
Revision: 25573
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=25573
Author: aligorith
Date: 2009-12-27 02:36:32 +0100 (Sun, 27 Dec 2009)
Log Message:
-----------
DopeSheet + Graph Editor hotkey tweak:
Made the TAB key toggle the editability of selected channels in the keyframes area in addition to the channels list.
Modified Paths:
--------------
trunk/blender/source/blender/editors/space_action/action_ops.c
trunk/blender/source/blender/editors/space_graph/graph_ops.c
Modified: trunk/blender/source/blender/editors/space_action/action_ops.c
===================================================================
--- trunk/blender/source/blender/editors/space_action/action_ops.c 2009-12-27 01:32:58 UTC (rev 25572)
+++ trunk/blender/source/blender/editors/space_action/action_ops.c 2009-12-27 01:36:32 UTC (rev 25573)
@@ -155,11 +155,14 @@
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);
+ /* animation module */
+ /* channels list
+ * NOTE: these operators were originally for the channels list, but are added here too for convenience...
+ */
+ WM_keymap_add_item(keymap, "ANIM_OT_channels_editable_toggle", TABKEY, KM_PRESS, 0, 0);
+
/* transform system */
transform_keymap_for_space(keyconf, keymap, SPACE_ACTION);
-
- /* test */
- /* WM_keymap_add_item(keymap, "ACTION_OT_test", QKEY, KM_PRESS, 0, 0); */
}
/* --------------- */
@@ -171,7 +174,7 @@
/* channels */
/* Channels are not directly handled by the Action Editor module, but are inherited from the Animation module.
* All the relevant operations, keymaps, drawing, etc. can therefore all be found in that module instead, as these
- * are all used for the IPO-Editor too.
+ * are all used for the Graph-Editor too.
*/
/* keyframes */
Modified: trunk/blender/source/blender/editors/space_graph/graph_ops.c
===================================================================
--- trunk/blender/source/blender/editors/space_graph/graph_ops.c 2009-12-27 01:32:58 UTC (rev 25572)
+++ trunk/blender/source/blender/editors/space_graph/graph_ops.c 2009-12-27 01:36:32 UTC (rev 25573)
@@ -351,6 +351,11 @@
/* F-Modifiers */
RNA_boolean_set(WM_keymap_add_item(keymap, "GRAPH_OT_fmodifier_add", MKEY, KM_PRESS, KM_CTRL|KM_SHIFT, 0)->ptr, "only_active", 0);
+ /* animation module */
+ /* channels list
+ * NOTE: these operators were originally for the channels list, but are added here too for convenience...
+ */
+ WM_keymap_add_item(keymap, "ANIM_OT_channels_editable_toggle", TABKEY, KM_PRESS, 0, 0);
/* transform system */
transform_keymap_for_space(keyconf, keymap, SPACE_IPO);
More information about the Bf-blender-cvs
mailing list