Don't use the CSKR in the .blend file for the beta phazon suit, this fixes the normal Phazon Suit being improperly skinned

This commit is contained in:
Phillip Stephens 2021-04-03 22:07:47 -07:00
parent a0e1fe907e
commit 4189c596ef
Signed by: Antidote
GPG Key ID: F8BEE4C83DACA60D
1 changed files with 4 additions and 1 deletions

View File

@ -1002,7 +1002,10 @@ atUint32 ReadGeomSectionsToBlender(hecl::blender::PyOutStream& os, athena::io::I
FinishBlenderMesh(os, matSetCount, meshIdx);
if (rp.first.second) {
os.format(FMT_STRING("mesh.cskr_id = '{}'\n"), rp.first.first);
if (entry.id != 0xB333E1D7) {
// This is the beta phazon suit, we want the (incorrect) weight information, but we don't want to keep the CSKR id
os.format(FMT_STRING("mesh.cskr_id = '{}'\n"), rp.first.first);
}
rp.second.second->sendVertexGroupsToBlender(os);
}