Fix T55818: Dynamically modified influence vertex group not working in modifier stack.
Now that we are using meshes, we need to assign back potential new vgroup cdlayer to mesh->dvert pointer...
This commit is contained in:
parent
211ad6bf9a
commit
c2d363b118
Notes:
blender-bot
2023-02-14 10:37:50 +01:00
Referenced by issue #55818, Dynamically modified influence vertex group not working in modifier stack
|
@ -219,6 +219,7 @@ static Mesh *applyModifier(
|
|||
}
|
||||
return mesh;
|
||||
}
|
||||
result->dvert = dvert;
|
||||
|
||||
/* Get org weights, assuming 0.0 for vertices not in given vgroup. */
|
||||
org_w = MEM_malloc_arrayN(numVerts, sizeof(float), "WeightVGEdit Modifier, org_w");
|
||||
|
|
|
@ -259,6 +259,7 @@ static Mesh *applyModifier(ModifierData *md, const ModifierEvalContext *ctx, Mes
|
|||
}
|
||||
return mesh;
|
||||
}
|
||||
result->dvert = dvert;
|
||||
|
||||
/* Find out which vertices to work on. */
|
||||
tidx = MEM_malloc_arrayN(numVerts, sizeof(int), "WeightVGMix Modifier, tidx");
|
||||
|
|
|
@ -438,6 +438,7 @@ static Mesh *applyModifier(ModifierData *md, const ModifierEvalContext *ctx, Mes
|
|||
}
|
||||
return mesh;
|
||||
}
|
||||
result->dvert = dvert;
|
||||
|
||||
/* Find out which vertices to work on (all vertices in vgroup), and get their relevant weight. */
|
||||
tidx = MEM_malloc_arrayN(numVerts, sizeof(int), "WeightVGProximity Modifier, tidx");
|
||||
|
|
Loading…
Reference in New Issue