1
Fork 0
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:
Joshua Goins 2024-01-29 16:02:56 -05:00
parent 1810821fd7
commit c7c9c38980

View file

@ -599,7 +599,6 @@ impl MDL {
}
// 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.runtime_size = self.model_data.calculate_runtime_size();
@ -789,6 +788,7 @@ impl ModelFileHeader {
}
}
// TODO: From Xande, need to be cleaned up :)
impl ModelData {
pub fn calculate_runtime_size(&self) -> u32 {
2 //StringCount