Modifiers: Use object passed to evaluation
This was wrong and violating design to force modifiers to query
evaluated objects and IDs. It is up to the caller to make sure
the object is properly evaluatable.
Effectively, reverting changes from de491abf99
(and possibly
other related changes).
This commit is contained in:
@@ -94,7 +94,7 @@ static void deformVerts(
|
||||
|
||||
MOD_previous_vcos_store(md, vertexCos); /* if next modifier needs original vertices */
|
||||
|
||||
lattice_deform_verts(DEG_get_evaluated_object(ctx->depsgraph, lmd->object), ctx->object, mesh_src,
|
||||
lattice_deform_verts(lmd->object, ctx->object, mesh_src,
|
||||
vertexCos, numVerts, lmd->name, lmd->strength);
|
||||
|
||||
if (!ELEM(mesh_src, NULL, mesh)) {
|
||||
|
Reference in New Issue
Block a user