Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2018-10-10 05:13:17 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-10-10 05:14:15 +0300
commitc61142c0b54253ee17b853005f52e2600cf17754 (patch)
treee4a7764a499f737468e934725c4337ea4ca7cb88 /source/blender/modifiers/intern/MOD_util.c
parent633e2cddd7ec717213a8a82f7dccb22f5b70cf39 (diff)
Modifier: use simplified bmesh -> mesh conversion
Diffstat (limited to 'source/blender/modifiers/intern/MOD_util.c')
-rw-r--r--source/blender/modifiers/intern/MOD_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/modifiers/intern/MOD_util.c b/source/blender/modifiers/intern/MOD_util.c
index 0b6a3bc4b99..d156f119eec 100644
--- a/source/blender/modifiers/intern/MOD_util.c
+++ b/source/blender/modifiers/intern/MOD_util.c
@@ -177,7 +177,7 @@ Mesh *MOD_get_mesh_eval(
}
else if (ob->type == OB_MESH) {
if (em) {
- mesh = BKE_mesh_from_bmesh_nomain(em->bm, &(struct BMeshToMeshParams){0});
+ mesh = BKE_mesh_from_bmesh_for_eval_nomain(em->bm, 0);
}
else {
/* TODO(sybren): after modifier conversion of DM to Mesh is done, check whether