Fix T55097: Mesh Deformation modifier is ignoring Vgroup option
This commit is contained in:
parent
b0cfd7a9b8
commit
6a4ba9133c
Notes:
blender-bot
2023-02-14 09:48:23 +01:00
Referenced by issue #55096, Investigate why Spring rigs are broken in 2.8 with COW Referenced by issue #55097, Mdef Modifier is ignoring Vgroup option in 2.8
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue