mirror of https://github.com/AxioDL/metaforce.git
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:
parent
a0e1fe907e
commit
4189c596ef
|
@ -1002,7 +1002,10 @@ atUint32 ReadGeomSectionsToBlender(hecl::blender::PyOutStream& os, athena::io::I
|
||||||
FinishBlenderMesh(os, matSetCount, meshIdx);
|
FinishBlenderMesh(os, matSetCount, meshIdx);
|
||||||
|
|
||||||
if (rp.first.second) {
|
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);
|
rp.second.second->sendVertexGroupsToBlender(os);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue