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:
authorSybren A. Stüvel <sybren@stuvel.eu>2018-05-16 16:18:49 +0300
committerSybren A. Stüvel <sybren@stuvel.eu>2018-05-16 16:19:10 +0300
commit6a4ba9133ce7937fb90902372302cad0f424e6d7 (patch)
tree4110de9225ca8b228c9930f38df681d910f855dc /source/blender/modifiers/intern/MOD_meshdeform.c
parentb0cfd7a9b8529ea5882e1d6fbbf8571b62d64037 (diff)
Fix T55097: Mesh Deformation modifier is ignoring Vgroup option
Diffstat (limited to 'source/blender/modifiers/intern/MOD_meshdeform.c')
-rw-r--r--source/blender/modifiers/intern/MOD_meshdeform.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/modifiers/intern/MOD_meshdeform.c b/source/blender/modifiers/intern/MOD_meshdeform.c
index 26761d8ef91..94adb3d9ebc 100644
--- a/source/blender/modifiers/intern/MOD_meshdeform.c
+++ b/source/blender/modifiers/intern/MOD_meshdeform.c
@@ -421,7 +421,7 @@ static void deformVerts(
modifier_vgroup_cache(md, vertexCos); /* if next modifier needs original vertices */
- meshdeformModifier_do(md, ctx->object, mesh, vertexCos, numVerts);
+ meshdeformModifier_do(md, ctx->object, mesh_src, vertexCos, numVerts);
if (mesh_src && mesh_src != mesh) {
BKE_id_free(NULL, mesh_src);
@@ -437,7 +437,7 @@ static void deformVertsEM(
{
Mesh *mesh_src = get_mesh(ctx->object, NULL, mesh, NULL, false, false);
- meshdeformModifier_do(md, ctx->object, mesh, vertexCos, numVerts);
+ meshdeformModifier_do(md, ctx->object, mesh_src, vertexCos, numVerts);
if (mesh_src && mesh_src != mesh) {
BKE_id_free(NULL, mesh_src);