Page Menu
Home
Search
Configure Global Search
Log In
Files
F3144
borderzoombuttons.patch
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Authored By
Ben Stabler (lightning)
Nov 13 2013, 1:08 PM
Size
1023 B
Subscribers
None
borderzoombuttons.patch
View Options
Index: source/blender/src/header_view3d.c
===================================================================
RCS file: /cvsroot/bf-blender/blender/source/blender/src/header_view3d.c,v
retrieving revision 1.189
diff -u -r1.189 header_view3d.c
--- source/blender/src/header_view3d.c 12 Oct 2006 14:26:14 -0000 1.189
+++ source/blender/src/header_view3d.c 23 Oct 2006 15:11:31 -0000
@@ -239,6 +239,9 @@
case 11: /* Camera Fly mode */
fly();
break;
+ case 12: /* Border zoom */
+ border_zoom();
+ break;
}
allqueue(REDRAWVIEW3D, 0);
}
@@ -253,6 +256,7 @@
uiBlockSetButmFunc(block, do_view3d_view_cameracontrolsmenu, NULL);
uiDefIconTextBut(block, BUTM, 1, ICON_BLANK1, "Camera Fly Mode|Shift F", 0, yco-=20, menuwidth, 19, NULL, 0.0, 0.0, 0, 11, "");
+ if (G.vd->persp != 2) uiDefIconTextBut(block, BUTM, 1, ICON_BLANK1, "Border Zoom|Shift B", 0, yco-=20, menuwidth, 19, NULL, 0.0, 0.0, 0, 12, "");
uiDefBut(block, SEPR, 0, "", 0, yco-=6, 140, 6, NULL, 0.0, 0.0, 0, 0, "");
File Metadata
Details
Mime Type
text/x-diff
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
c7/54/d64d73322dc1c3e02e3704058cc9
Event Timeline
Log In to Comment