[Scene manager] Import Point cache on multiple asset
This might be a task specific ticket. I'm not sure
Issue
We need to use the same cache on multiple geometry. We cached the character body (CooperA_Body_01_MSH) but in look dev are using various time the same mesh to emit hair. In theory we should be able to use mesh ops and merge the original mesh into a new mesh, in practice it doesnt work, probably a modo bug. Chances of foundry fixing the bug:
- Understanding the bug = 25%
- fixing the bug = 1%
Total chances of shit being sorted by foundry = 0.25%
Current behaviour
The import cache finds the first geometry with the proper name, ignoring the (#) at the end and assigns the cache Example:
- Three mesh in the scene are named CooperA_Body_01_MSH:
- CooperA_Body_01_MSH (1)
- CooperA_Body_01_MSH
- CooperA_Body_01_MSH (2)
- The first mesh in the item list will get the cache (In the above case CooperA_Body_01_MSH (1))
New behaviour
This is a dirty work around but if all 3 mesh (and any matching the name without the (#)) could get the cache it would save a lot of time.
Problematic
If this is slowing down dramatically the import we can talk about a proper design for this, but this would be the "cheapest" way of sorting this issue. (Time wise)
Priority = mid/high can wait till week of september 1st