diff options
Diffstat (limited to 'source/blender/editors/space_view3d/view3d_edit.c')
-rw-r--r-- | source/blender/editors/space_view3d/view3d_edit.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/editors/space_view3d/view3d_edit.c b/source/blender/editors/space_view3d/view3d_edit.c index 0c05e85631f..9ee00d2413c 100644 --- a/source/blender/editors/space_view3d/view3d_edit.c +++ b/source/blender/editors/space_view3d/view3d_edit.c @@ -1649,10 +1649,10 @@ static int ndof_orbit_invoke(bContext *C, wmOperator *op, const wmEvent *event) viewops_data_alloc(C, op); viewops_data_create_ex(C, op, event, (U.uiflag & USER_ORBIT_SELECTION) != 0, false); + vod = op->customdata; ED_view3d_smooth_view_force_finish(C, vod->v3d, vod->ar); - vod = op->customdata; v3d = vod->v3d; rv3d = vod->rv3d; @@ -1718,9 +1718,10 @@ static int ndof_orbit_zoom_invoke(bContext *C, wmOperator *op, const wmEvent *ev viewops_data_create_ex(C, op, event, (U.uiflag & USER_ORBIT_SELECTION) != 0, false); + vod = op->customdata; + ED_view3d_smooth_view_force_finish(C, vod->v3d, vod->ar); - vod = op->customdata; v3d = vod->v3d; rv3d = vod->rv3d; |