Add waiting for model to be loaded in SetMaterial
This commit is contained in:
@@ -544,3 +544,9 @@ void StaticModel::OnDisable()
|
||||
_residencyChangedModel = nullptr;
|
||||
}
|
||||
}
|
||||
|
||||
void StaticModel::WaitForModelLoad()
|
||||
{
|
||||
if (Model)
|
||||
Model->WaitForLoaded();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user