Merge branch 'master' into blender2.8
[blender.git] / source / blender / editors / space_view3d / view3d_edit.c
index abd607a4f1907544dafac4d4f7db32e092510216..ae093b2f9e223f62aa7dac9371b4a14766141e2e 100644 (file)
@@ -412,7 +412,7 @@ static void viewops_data_create(
 
        /* set the view from the camera, if view locking is enabled.
         * we may want to make this optional but for now its needed always */
-       ED_view3d_camera_lock_init_ex(depsgraph, vod->v3d, vod->rv3d, false);
+       ED_view3d_camera_lock_init(depsgraph, vod->v3d, vod->rv3d);
 
        vod->init.dist = rv3d->dist;
        vod->init.camzoom = rv3d->camzoom;