Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi, I don't expect you too use this PR directly, because I think it probably messes things up further down the import pipeline (stuff i don't personally use), but you should consider looking at the code and integrating it in some way.
This massively increases the performance of the importer when importing a gen8 character with a lot of morphs.
The main issue causing a slow is deleting the eyelash morphs after joining the eyelash and body meshes. This is extremely slow and was taking 1+ hour (and still running before i cancelled it) on my machine because blender only lets you delete 1 at a time. You can get around this by naming the eyelash morphs and body morphs the same on each object and THEN joining the objects together. Blender will automatically combine the morphs and you no longer have to delete eyelash morphs. This massively improved performance. I only tested this on gen8 base female so far.
Hope this helps.
With this change to the code it imports in around 5 minutes instead of 1+ hours for me.