[IXModel] Zero smc stuff, it breaks the model

This commit is contained in:
momo5502 2017-01-04 00:03:20 +01:00
parent 25b610d3dd
commit c8efcd694a

View File

@ -157,6 +157,12 @@ namespace Assets
Components::AssetHandler::StoreTemporaryAsset(Game::XAssetType::ASSET_TYPE_XMODELSURFS, { asset->lodInfo[i].modelSurfs });
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;
}
}
}