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
path: root/source
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-10-10 16:30:47 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-10-10 16:30:47 +0400
commit38e6a2f2f2a2234ea444203310289ce4ee55549a (patch)
treec9d6504b5484bcc6fc8f03f24752801b4ca8df64 /source
parentcc50d58b20c6e50aea8a5b23772e180237a200fe (diff)
fix error changing the view with a lock-camera-to-view on and smooth-view disabled.
Diffstat (limited to 'source')
-rw-r--r--source/blender/editors/space_view3d/view3d_view.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/space_view3d/view3d_view.c b/source/blender/editors/space_view3d/view3d_view.c
index 26242773e28..f70c375eb29 100644
--- a/source/blender/editors/space_view3d/view3d_view.c
+++ b/source/blender/editors/space_view3d/view3d_view.c
@@ -248,6 +248,8 @@ void view3d_smooth_view(bContext *C, View3D *v3d, ARegion *ar, Object *oldcamera
v3d->lens = sms.new_lens;
}
+ ED_view3d_camera_lock_sync(v3d, rv3d);
+
if (rv3d->viewlock & RV3D_BOXVIEW)
view3d_boxview_copy(sa, ar);