diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-09-23 15:57:00 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-09-23 15:57:00 +0300 |
commit | f964334b88a83c150fad6f0ac6a72dd2b108bbc2 (patch) | |
tree | db0df81961ba0ac59e447a3896bd21134bf5df36 /source/blender/modifiers | |
parent | abfc9e59e251e77533569135a14d72465b2ba468 (diff) |
Fix T46215: Explode modifier looses textures
Diffstat (limited to 'source/blender/modifiers')
-rw-r--r-- | source/blender/modifiers/intern/MOD_explode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/modifiers/intern/MOD_explode.c b/source/blender/modifiers/intern/MOD_explode.c index 82600421736..d57ace8d7fe 100644 --- a/source/blender/modifiers/intern/MOD_explode.c +++ b/source/blender/modifiers/intern/MOD_explode.c @@ -861,7 +861,7 @@ static DerivedMesh *explodeMesh(ExplodeModifierData *emd, BLI_edgehashIterator_free(ehi); /* the final duplicated vertices */ - explode = CDDM_from_template(dm, totdup, 0, totface - delface, 0, 0); + explode = CDDM_from_template_ex(dm, totdup, 0, totface - delface, 0, 0, CD_MASK_DERIVEDMESH | CD_MASK_FACECORNERS); mtface = CustomData_get_layer_named(&explode->faceData, CD_MTFACE, emd->uvname); /*dupvert = CDDM_get_verts(explode);*/ |