Page MenuHome
Paste P902

T61156 snippet
ActivePublic

Authored by Philipp Oeser (lichtwerk) on Feb 4 2019, 12:23 PM.
diff --git a/source/blender/blenkernel/intern/mesh_convert.c b/source/blender/blenkernel/intern/mesh_convert.c
index a61d9da2c70..cd2e91fb29c 100644
--- a/source/blender/blenkernel/intern/mesh_convert.c
+++ b/source/blender/blenkernel/intern/mesh_convert.c
@@ -955,9 +955,10 @@ Mesh *BKE_mesh_new_from_object(
}
else {
ListBase disp = {NULL, NULL};
- if (ob->runtime.curve_cache) {
- disp = ob->runtime.curve_cache->disp;
+ if (!ob->runtime.curve_cache) {
+ BKE_displist_make_mball(depsgraph, sce, ob);
}
+ disp = ob->runtime.curve_cache->disp;
BKE_mesh_from_metaball(&disp, tmpmesh);
}