diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-11-30 10:11:04 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-11-30 10:15:06 +0300 |
commit | 3f31c28a025cf61e2c4df33f28467771ae603965 (patch) | |
tree | 3a4d811944d2687af1763b94f78cf5372a88cfbe /source/blender/editors/space_view3d/view3d_view.c | |
parent | 6e253fc627462ff230ea003a8bd0e5e4dc6cc74e (diff) |
3D View: locked camera was using the original view offset
Now used the original dist instead, since using the distance between
the camera and the views offset may seem random from the users POV.
This addresses strange behavior noticed in T56934.
Diffstat (limited to 'source/blender/editors/space_view3d/view3d_view.c')
-rw-r--r-- | source/blender/editors/space_view3d/view3d_view.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_view3d/view3d_view.c b/source/blender/editors/space_view3d/view3d_view.c index 92f226f72de..52b9b9e49be 100644 --- a/source/blender/editors/space_view3d/view3d_view.c +++ b/source/blender/editors/space_view3d/view3d_view.c @@ -156,7 +156,7 @@ void ED_view3d_smooth_view_ex( * we allow camera option locking to initialize the view settings from the camera. */ if (sview->camera == NULL && sview->camera_old == NULL) { - ED_view3d_camera_lock_init(v3d, rv3d); + ED_view3d_camera_lock_init_ex(v3d, rv3d, true); } /* store the options we want to end with */ |