mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2026-04-28 05:11:37 +00:00
Kick off terrain models to pipeline compilation thread the moment they are made.
This commit is contained in:
parent
f356aa665a
commit
5838ef224f
1 changed files with 1 additions and 1 deletions
|
|
@ -4676,7 +4676,7 @@ static void ModelConsumerThread()
|
||||||
bool ready = false;
|
bool ready = false;
|
||||||
|
|
||||||
if (pendingModel->m_pVftable.ptr == TERRAIN_MODEL_DATA_VFTABLE)
|
if (pendingModel->m_pVftable.ptr == TERRAIN_MODEL_DATA_VFTABLE)
|
||||||
ready = CheckMadeAll(*reinterpret_cast<Hedgehog::Mirage::CTerrainModelData*>(pendingModel.get()));
|
ready = pendingModel->IsMadeOne(); // Terrain groups will already have all references made by the time they are created
|
||||||
else
|
else
|
||||||
ready = CheckMadeAll(*reinterpret_cast<Hedgehog::Mirage::CModelData*>(pendingModel.get()));
|
ready = CheckMadeAll(*reinterpret_cast<Hedgehog::Mirage::CModelData*>(pendingModel.get()));
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue