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_decimate.c
parent633e2cddd7ec717213a8a82f7dccb22f5b70cf39 (diff)
Modifier: use simplified bmesh -> mesh conversion
Diffstat (limited to 'source/blender/modifiers/intern/MOD_decimate.c')
-rw-r--r--source/blender/modifiers/intern/MOD_decimate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/modifiers/intern/MOD_decimate.c b/source/blender/modifiers/intern/MOD_decimate.c
index 49429b26fe4..7af25a048f8 100644
--- a/source/blender/modifiers/intern/MOD_decimate.c
+++ b/source/blender/modifiers/intern/MOD_decimate.c
@@ -186,7 +186,7 @@ static Mesh *applyModifier(
/* update for display only */
dmd->face_count = bm->totface;
- result = BKE_mesh_from_bmesh_nomain(bm, &((struct BMeshToMeshParams){0}));
+ result = BKE_mesh_from_bmesh_for_eval_nomain(bm, 0);
BLI_assert(bm->vtoolflagpool == NULL &&
bm->etoolflagpool == NULL &&
bm->ftoolflagpool == NULL); /* make sure we never alloc'd these */