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:
parent
dff1a83809
commit
b86eb29d81
1 changed files with 2 additions and 1 deletions
|
@ -520,7 +520,8 @@ impl MDL {
|
||||||
vertices[k as usize].bone_weight = MDL::read_byte_float4(&mut cursor).unwrap();
|
vertices[k as usize].bone_weight = MDL::read_byte_float4(&mut cursor).unwrap();
|
||||||
}
|
}
|
||||||
VertexType::Byte4 => {
|
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 => {
|
VertexType::Unknown1 => {
|
||||||
// TODO: Unimplemented, needed for Dawntrail?
|
// TODO: Unimplemented, needed for Dawntrail?
|
||||||
|
|
Loading…
Add table
Reference in a new issue