mirror of
https://github.com/redstrate/Physis.git
synced 2025-04-22 04:37:46 +00:00
Move comment to it's right place in ModelData::calculate_runtime_size
This commit is contained in:
parent
1810821fd7
commit
c7c9c38980
1 changed files with 1 additions and 1 deletions
|
@ -599,7 +599,6 @@ impl MDL {
|
||||||
}
|
}
|
||||||
|
|
||||||
// update lod values
|
// update lod values
|
||||||
// TODO: From Xande, need to be cleaned up :)
|
|
||||||
self.file_header.stack_size = self.file_header.calculate_stack_size();
|
self.file_header.stack_size = self.file_header.calculate_stack_size();
|
||||||
self.file_header.runtime_size = self.model_data.calculate_runtime_size();
|
self.file_header.runtime_size = self.model_data.calculate_runtime_size();
|
||||||
|
|
||||||
|
@ -789,6 +788,7 @@ impl ModelFileHeader {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO: From Xande, need to be cleaned up :)
|
||||||
impl ModelData {
|
impl ModelData {
|
||||||
pub fn calculate_runtime_size(&self) -> u32 {
|
pub fn calculate_runtime_size(&self) -> u32 {
|
||||||
2 //StringCount
|
2 //StringCount
|
||||||
|
|
Loading…
Add table
Reference in a new issue