fix error changing the view with a lock-camera-to-view on and smooth-view disabled.

This commit is contained in:
Campbell Barton
2012-10-10 12:30:47 +00:00
parent cc50d58b20
commit 38e6a2f2f2

View File

@@ -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);