ultimate-research / ssbh_lib

Reading and writing SSBH file formats in Rust
MIT License
8 stars 3 forks source link

add error for saving mesh with duplicate subindices #139

Closed ScanMountGoat closed 1 year ago

ScanMountGoat commented 1 year ago

Skin weights and materials are assigned to meshes based on the mesh name and subindex. If subindices are shared for meshes with the same name, there is no way to tell which entry corresponds to which mesh. This can't be fixed in external applications, so it should be an error on save.