[IXModel] Import phys preset
This commit is contained in:
parent
77858938bd
commit
1148dac0ff
@ -190,8 +190,19 @@ namespace Assets
|
|||||||
|
|
||||||
if (asset->physPreset)
|
if (asset->physPreset)
|
||||||
{
|
{
|
||||||
// TODO
|
asset->physPreset = reader.readObject<Game::PhysPreset>();
|
||||||
asset->physPreset = nullptr;
|
|
||||||
|
if (asset->physPreset->name)
|
||||||
|
{
|
||||||
|
asset->physPreset->name = reader.readCString();
|
||||||
|
}
|
||||||
|
|
||||||
|
if (asset->physPreset->sndAliasPrefix)
|
||||||
|
{
|
||||||
|
asset->physPreset->sndAliasPrefix = reader.readCString();
|
||||||
|
}
|
||||||
|
|
||||||
|
Components::AssetHandler::StoreTemporaryAsset(Game::XAssetType::ASSET_TYPE_PHYSPRESET, { asset->physPreset });
|
||||||
}
|
}
|
||||||
|
|
||||||
if (asset->physCollmap)
|
if (asset->physCollmap)
|
||||||
|
Loading…
Reference in New Issue
Block a user