h4lfheart / FortnitePorting

Automation of the Fortnite Porting Process
GNU General Public License v3.0
250 stars 45 forks source link

For pose asset shape keys, set basis based on existing morphs #45

Closed RedHaze closed 6 months ago

RedHaze commented 6 months ago

Summary

Some characters have a preferred set of initial values for morph targets, however, these morphs should not influence those created by pose asset processing. We should set the relative key for all pose asset created shape keys to a custom basis created from mix if initial morphs exist.

This PR also removes the initially added 'Basis' shape key during pose asset processing if no other shape keys were created (i.e. sometimes for Body or FaceAcc character parts).

RedHaze commented 6 months ago

Simpler fix in https://github.com/halfuwu/FortnitePorting/commit/64dc1dc3e2802055e98b878a0418468d56a4e12b.