riidefi / RiiStudio

Editor for various 3D model formats
https://riidefi.github.io/RiiStudio/
92 stars 16 forks source link

Removes "Unused" Textures upon saving. #22

Closed gayfrogog closed 1 year ago

gayfrogog commented 3 years ago

Saving a BMD/BDL with textures not being used by any materials on the model will remove said textures. This breaks multiple animations and causes crashes when replacing character models in Super Mario Sunshine and Super Mario Galaxy for example. Attached is a zip containing two files, one being the original Mario.bdl file, and the other a Mario.bmd saved using RiiStudio. Unsure if this is intentional or not, but the issue still stands. Mario.zip

riidefi commented 3 years ago

This problem is a bit more challenging under-the-hood than it might appear. I'll need to think of how I want to approach it.

riidefi commented 1 year ago

Addressed in 7d3a769