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>2014-02-24 08:15:17 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-02-24 08:17:47 +0400
commit021b07e87c8cdf5e2b3f73e1e3d75baebaaba388 (patch)
treed98fcdd9f60cbb073529c325b4746bf47d3fe91c /source/blender/editors/include/ED_view3d.h
parent01645ccdc6e8de7e5bc851aee0ca3d4831ccedaf (diff)
NDOF: various fixes for view3d
- allow zooming when in ortho+user mode - fix for using VIEW3D_OT_ndof_orbit_zoom when the camera is locked. - fix for locked camera changing the dist value when used with ndof. - de-duplicate ndof_pan_zoom and ndof_all operators
Diffstat (limited to 'source/blender/editors/include/ED_view3d.h')
-rw-r--r--source/blender/editors/include/ED_view3d.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/include/ED_view3d.h b/source/blender/editors/include/ED_view3d.h
index a42b352ad51..0aff3b81ec9 100644
--- a/source/blender/editors/include/ED_view3d.h
+++ b/source/blender/editors/include/ED_view3d.h
@@ -322,6 +322,7 @@ bool ED_view3d_offset_lock_check(struct View3D *v3d, struct RegionView3D *rv3d);
/* camera lock functions */
bool ED_view3d_camera_lock_check(struct View3D *v3d, struct RegionView3D *rv3d);
/* copy the camera to the view before starting a view transformation */
+void ED_view3d_camera_lock_init_ex(struct View3D *v3d, struct RegionView3D *rv3d, const bool calc_dist);
void ED_view3d_camera_lock_init(struct View3D *v3d, struct RegionView3D *rv3d);
/* copy the view to the camera, return TRUE if */
bool ED_view3d_camera_lock_sync(struct View3D *v3d, struct RegionView3D *rv3d);