[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [33591] trunk/blender/source/blender/ editors/space_graph/graph_ops.c: Bugfix #25153

Ton Roosendaal ton at blender.org
Fri Dec 10 19:48:20 CET 2010


Revision: 33591
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=33591
Author:   ton
Date:     2010-12-10 19:48:20 +0100 (Fri, 10 Dec 2010)

Log Message:
-----------
Bugfix #25153

graph editor:
- option "extend mode" requires channel-selection. Moved pulldown menu
  from Key to Channel instead
- hotkey SHIFT+E for same operation now works both in channel list as in
  main view.

Modified Paths:
--------------
    trunk/blender/source/blender/editors/space_graph/graph_ops.c

Modified: trunk/blender/source/blender/editors/space_graph/graph_ops.c
===================================================================
--- trunk/blender/source/blender/editors/space_graph/graph_ops.c	2010-12-10 13:31:59 UTC (rev 33590)
+++ trunk/blender/source/blender/editors/space_graph/graph_ops.c	2010-12-10 18:48:20 UTC (rev 33591)
@@ -339,9 +339,7 @@
 	
 	
 	WM_keymap_add_item(keymap, "GRAPH_OT_interpolation_type", TKEY, KM_PRESS, KM_SHIFT, 0);
-	WM_keymap_add_item(keymap, "GRAPH_OT_extrapolation_type", EKEY, KM_PRESS, KM_SHIFT, 0);
 	
-	
 		/* destructive */
 	WM_keymap_add_item(keymap, "GRAPH_OT_clean", OKEY, KM_PRESS, 0, 0);
 	WM_keymap_add_item(keymap, "GRAPH_OT_smooth", OKEY, KM_PRESS, KM_ALT, 0);
@@ -388,6 +386,8 @@
 	/* keymap for all regions */
 	keymap= WM_keymap_find(keyconf, "Graph Editor Generic", SPACE_IPO, 0);
 	WM_keymap_add_item(keymap, "GRAPH_OT_properties", NKEY, KM_PRESS, 0, 0);
+		/* extrapolation works on channels, not keys */
+	WM_keymap_add_item(keymap, "GRAPH_OT_extrapolation_type", EKEY, KM_PRESS, KM_SHIFT, 0);
 
 	/* channels */
 	/* Channels are not directly handled by the Graph Editor module, but are inherited from the Animation module. 





More information about the Bf-blender-cvs mailing list