[IXModel] Zero smc stuff, it breaks the model
This commit is contained in:
parent
25b610d3dd
commit
c8efcd694a
@ -157,6 +157,12 @@ namespace Assets
|
|||||||
Components::AssetHandler::StoreTemporaryAsset(Game::XAssetType::ASSET_TYPE_XMODELSURFS, { asset->lodInfo[i].modelSurfs });
|
Components::AssetHandler::StoreTemporaryAsset(Game::XAssetType::ASSET_TYPE_XMODELSURFS, { asset->lodInfo[i].modelSurfs });
|
||||||
|
|
||||||
asset->lodInfo[i].surfs = asset->lodInfo[i].modelSurfs->surfaces;
|
asset->lodInfo[i].surfs = asset->lodInfo[i].modelSurfs->surfaces;
|
||||||
|
|
||||||
|
// Zero that for now, it breaks the models.
|
||||||
|
// TODO: Figure out how that can be converted
|
||||||
|
asset->lodInfo[i].smcBaseIndexPlusOne = 0;
|
||||||
|
asset->lodInfo[i].smcSubIndexMask = 0;
|
||||||
|
asset->lodInfo[i].smcBucket = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user