diff options
author | Ton Roosendaal <ton@blender.org> | 2006-11-08 18:22:58 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2006-11-08 18:22:58 +0300 |
commit | a65fc1e38177c05854c7a8d879d6526204f35a7b (patch) | |
tree | a3753864d620f9f5a89572233fba1c9ea795a9ff /source/blender/src/space.c | |
parent | a0354619c77747abe47e4f60a3b26f63f433d40a (diff) |
Patch #5126 by Ben Stabler
In 3D window, ortho view, you can use SHIFT+B to zoom in to a border.
I've disabled it for perspective, that doesn't work at all with this.
Diffstat (limited to 'source/blender/src/space.c')
-rw-r--r-- | source/blender/src/space.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/source/blender/src/space.c b/source/blender/src/space.c index a2365cf7e2f..af5b44adb22 100644 --- a/source/blender/src/space.c +++ b/source/blender/src/space.c @@ -1321,7 +1321,12 @@ static void winqreadview3dspace(ScrArea *sa, void *spacedata, BWinEvent *evt) if(G.qual==LR_ALTKEY) view3d_edit_clipping(v3d); else if(G.qual==LR_SHIFTKEY) - set_render_border(); + { + if(G.vd->persp==2) + set_render_border(); + else + view3d_border_zoom(); + } else if(G.qual==LR_CTRLKEY) { if(okee("Bake all selected")) { extern void softbody_bake(Object *ob); |