1
Fork 0
mirror of https://github.com/redstrate/Physis.git synced 2025-04-24 05:27:45 +00:00

Temporarily fix loading blend weights from Dawntrail

This commit is contained in:
Joshua Goins 2024-04-17 20:22:50 -04:00
parent dff1a83809
commit b86eb29d81

View file

@ -520,7 +520,8 @@ impl MDL {
vertices[k as usize].bone_weight = MDL::read_byte_float4(&mut cursor).unwrap();
}
VertexType::Byte4 => {
// TODO: Unimplemented, needed for Dawntrail?
// TODO: This was used in Dawntrail models. Look into if this is really correct, but seems so?
vertices[k as usize].bone_weight = MDL::read_byte_float4(&mut cursor).unwrap();
}
VertexType::Unknown1 => {
// TODO: Unimplemented, needed for Dawntrail?