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:
authorCampbell Barton <ideasman42@gmail.com>2011-04-22 19:34:07 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-04-22 19:34:07 +0400
commite520c498d26aa1e0b6abe63c24e593484135c0ac (patch)
tree277b6570009ec7c20898d033e6d1d83b17b545ab /source/blender/editors/space_view3d/view3d_intern.h
parentee9ea98e48d6dd1c7447baa049d15739588fe6de (diff)
View Dolly Operator: Ctrl+Shift+MMB.
Recently there were 2 reports about zoom not working right because at some point you can't zoom in any further. This is not actually a bug with zoom but a limitation in blender that there is no way to move the viewpoint forward (unless you count rotate 90d, pan, rotate back which is a crummy workaround). So adding view dolly operator: - Supports zoom to mouse position setting. - Supports dolly hoz/vert, invert setting. - Moves by a fraction of the view 'dist', so the zoom distance my be roughly in proportion to the scale of objects in the scene. only used in perspective view since this is not useful in camera/ortho view.
Diffstat (limited to 'source/blender/editors/space_view3d/view3d_intern.h')
-rw-r--r--source/blender/editors/space_view3d/view3d_intern.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/space_view3d/view3d_intern.h b/source/blender/editors/space_view3d/view3d_intern.h
index d66a3b99911..12ad01e3977 100644
--- a/source/blender/editors/space_view3d/view3d_intern.h
+++ b/source/blender/editors/space_view3d/view3d_intern.h
@@ -68,6 +68,7 @@ void view3d_operatortypes(void);
/* view3d_edit.c */
void VIEW3D_OT_zoom(struct wmOperatorType *ot);
+void VIEW3D_OT_dolly(struct wmOperatorType *ot);
void VIEW3D_OT_zoom_camera_1_to_1(struct wmOperatorType *ot);
void VIEW3D_OT_move(struct wmOperatorType *ot);
void VIEW3D_OT_rotate(struct wmOperatorType *ot);