forked from bartvdbraak/blender
Fix T43122: Shrinkwrap target, wrong linked object
This commit is contained in:
parent
62f2b751f8
commit
2d2bfd416b
@ -2509,7 +2509,9 @@ DerivedMesh *object_get_derived_final(Object *ob, const bool for_render)
|
||||
return ob->derivedFinal;
|
||||
}
|
||||
|
||||
if (em) {
|
||||
/* only return the editmesh if its from this object because
|
||||
* we don't a mesh from another object's modifier stack: T43122 */
|
||||
if (em && (em->ob == ob)) {
|
||||
DerivedMesh *dm = em->derivedFinal;
|
||||
return dm;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user