mirror of
https://github.com/redstrate/Physis.git
synced 2025-04-22 12:47:45 +00:00
Don't parse submesh bonemaps in Dawntrail models
Not sure if these are completely gone yet, but this is needed to at least partially load Dawntrail models.
This commit is contained in:
parent
7c3d5a3142
commit
9e7fc833ef
1 changed files with 2 additions and 0 deletions
|
@ -310,6 +310,8 @@ struct ModelData {
|
||||||
#[br(count = header.shape_value_count)]
|
#[br(count = header.shape_value_count)]
|
||||||
shape_values: Vec<ShapeValue>,
|
shape_values: Vec<ShapeValue>,
|
||||||
|
|
||||||
|
// TODO: Dawntrail doesn't seem to have these anymore? Needs more testing
|
||||||
|
#[br(if(file_header.version < 0x01000006, 0))]
|
||||||
submesh_bone_map_size: u32,
|
submesh_bone_map_size: u32,
|
||||||
|
|
||||||
#[br(count = submesh_bone_map_size / 2)]
|
#[br(count = submesh_bone_map_size / 2)]
|
||||||
|
|
Loading…
Add table
Reference in a new issue