mirror of
https://github.com/redstrate/Physis.git
synced 2025-04-22 04:37:46 +00:00
Always read additional data from material files
This commit is contained in:
parent
ba80ca326b
commit
f84bd8295d
1 changed files with 1 additions and 1 deletions
|
@ -96,10 +96,10 @@ struct MaterialData {
|
|||
color_sets: Vec<ColorSet>,
|
||||
|
||||
#[br(count = file_header.string_table_size)]
|
||||
#[br(pad_after = file_header.additional_data_size)]
|
||||
strings: Vec<u8>,
|
||||
|
||||
#[br(if(file_header.data_set_size > 0))]
|
||||
#[br(pad_before = file_header.additional_data_size)]
|
||||
color_set_info: Option<ColorSetInfo>,
|
||||
|
||||
#[br(if(file_header.data_set_size > 512))]
|
||||
|
|
Loading…
Add table
Reference in a new issue