Merge branch 'temp_remove_particles' into blender2.8
[blender.git] / source / blender / blenkernel / intern / scene.c
index 61c3bfd5a48772d2bf56de3103f91fe3d85321e3..1a452fbdc96e85fddab65754262b15a2d4f63abe 100644 (file)
@@ -1754,7 +1754,7 @@ static void prepare_mesh_for_viewport_render(Main *bmain, Scene *scene)
                {
                        if (check_rendered_viewport_visible(bmain)) {
                                BMesh *bm = mesh->edit_btmesh->bm;
-                               BM_mesh_bm_to_me(bm, mesh, false);
+                               BM_mesh_bm_to_me(bm, mesh, (&(struct BMeshToMeshParams){0}));
                                DAG_id_tag_update(&mesh->id, 0);
                        }
                }