[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [16484] trunk/blender/source/blender/src: IPO Editor - Zoom view to area
Joshua Leung
aligorith at gmail.com
Fri Sep 12 07:54:48 CEST 2008
Revision: 16484
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=16484
Author: aligorith
Date: 2008-09-12 07:54:39 +0200 (Fri, 12 Sep 2008)
Log Message:
-----------
IPO Editor - Zoom view to area
The Shift-B hotkey can now be used to access this tool.
Modified Paths:
--------------
trunk/blender/source/blender/src/header_ipo.c
trunk/blender/source/blender/src/space.c
Modified: trunk/blender/source/blender/src/header_ipo.c
===================================================================
--- trunk/blender/source/blender/src/header_ipo.c 2008-09-12 05:27:02 UTC (rev 16483)
+++ trunk/blender/source/blender/src/header_ipo.c 2008-09-12 05:54:39 UTC (rev 16484)
@@ -1414,7 +1414,7 @@
uiClearButLock();
/* ZOOMBORDER */
- uiDefIconBut(block, BUT, B_IPOBORDER, ICON_BORDERMOVE, xco+=XIC,0,XIC,YIC, 0, 0, 0, 0, 0, "Zooms view to area");
+ uiDefIconBut(block, BUT, B_IPOBORDER, ICON_BORDERMOVE, xco+=XIC,0,XIC,YIC, 0, 0, 0, 0, 0, "Zooms view to area (Shift B)");
xco+=XIC/2;
Modified: trunk/blender/source/blender/src/space.c
===================================================================
--- trunk/blender/source/blender/src/space.c 2008-09-12 05:27:02 UTC (rev 16483)
+++ trunk/blender/source/blender/src/space.c 2008-09-12 05:54:39 UTC (rev 16484)
@@ -3103,6 +3103,9 @@
else if (G.qual==LR_CTRLKEY) {
borderselect_markers();
}
+ else if (G.qual==LR_SHIFTKEY) {
+ do_ipo_buttons(B_IPOBORDER);
+ }
break;
case CKEY:
if (G.qual == LR_SHIFTKEY)
More information about the Bf-blender-cvs
mailing list