Transfer morphs not work for simple props without rig

Issue #100 resolved
engetudouiti created an issue

I test with recent beta plug in and blender 2.83

1 generate 2 cube, (source) and (target)

then make one shape key (key1) for soruce cube. and set driver for shape key, with use sphere obj.

test transfer morphs from plug in UI.

it actually show the “key1” as selectable, then I check it. see pic

Neither with driver nor without driver, Souce transfer shape key for target . (do not generate shape key for target)

console log

Transfer morphs Cube => Cube.001
0 Key 1
No shapekeys transferred to Cube.001

in pic, I change location to see clear ,but when I transfer I set location same (pivot is 0, 0, 0) so it should transfer shape keys. (perfect same mesh)

I remember, when I test with old version,, it transfer shape key for monkeys without problem.

if dirver of key1 matter? I attach the scene blend file. test please.

Comments (3)

  1. Thomas Larsson repo owner

    The tool ignores morphs if there is no overlap between the shapekey and the target mesh. Since each transfer takes quite a bit of time, comparing the bounding boxes is a fast way to skip irrelevant morphs. However, the decision was based on the morphed coordinates. I now changed to the base coordinates, which seems more correct. Normally the difference does not matter.

    It is now an error to try to transfer morph if the source and target meshes have different object transformations. Morph transfer uses Blender’s Data transfer modifier, which transfers data to the closest vertex after object transformations have been taken into account, so allowing object transformations would lead to very strange results.

  2. engetudouiti reporter

    Thanks confirm it worked. and driver transfered too.!! (they do not use daz importer UI)

    hope it work for most of case. (body to clothing etc,,)

  3. Log in to comment