Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Ebb <matt@mke3.net>2007-10-09 02:17:51 +0400
committerMatt Ebb <matt@mke3.net>2007-10-09 02:17:51 +0400
commit74f744010b1adbc08a5f548f26066c82189f2655 (patch)
tree5087c9ed206683895f6fe7891618e2d8a4fe554b /source/blender/include/BSE_view.h
parentca1ea2ce65d463a417695472ac514c8cb49425b7 (diff)
* Patch #6877: Zoom to Mouse Position
by Fahrezal Effendi (exavolt) This adds an additional preference to the view and controls section, which uses the mouse's position as the centre of the zoom when zooming in the 3D View with Ctrl-MMB or the mouse wheel. It's very nice for big scenes, thanks Fahrezal! A nice todo would be to add this for 2D views as well.
Diffstat (limited to 'source/blender/include/BSE_view.h')
-rw-r--r--source/blender/include/BSE_view.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/include/BSE_view.h b/source/blender/include/BSE_view.h
index 91f360338e9..4e27f9f1a81 100644
--- a/source/blender/include/BSE_view.h
+++ b/source/blender/include/BSE_view.h
@@ -76,6 +76,7 @@ void sdrawbox(short x1, short y1, short x2, short y2);
void calctrackballvecfirst(struct rcti *area, short *mval, float *vec);
void calctrackballvec(struct rcti *area, short *mval, float *vec);
void viewmove(int mode);
+void view_zoom_mouseloc(float dfac, short *mouseloc);
int get_view3d_viewplane(int winxi, int winyi, rctf *viewplane, float *clipsta, float *clipend, float *pixsize);
void setwinmatrixview3d(int winx, int winy, struct rctf *rect);