Merge branch 'master' into blender2.8
[blender.git] / source / blender / editors / space_view3d / view3d_edit.c
index 47778623561cf9cd735ff1f1b0a764a0a3259ac0..45284c1805a4e3ebaef423214cee412e929e7c8b 100644 (file)
@@ -2094,7 +2094,7 @@ static int viewzoom_modal(bContext *C, wmOperator *op, const wmEvent *event)
                viewzoom_apply(
                        vod, &event->x, U.viewzoom,
                        (U.uiflag & USER_ZOOM_INVERT) != 0,
-                       (use_mouse_init && (U.uiflag & USER_ZOOM_TO_MOUSEPOS)) ? vod->prev.event_xy : NULL);
+                       (use_mouse_init && (U.uiflag & USER_ZOOM_TO_MOUSEPOS)));
                if (ED_screen_animation_playing(CTX_wm_manager(C))) {
                        use_autokey = true;
                }