mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-05-10 12:36:53 +03:00
Preload instances in SceneManager
This commit is contained in:
parent
2e62298bd3
commit
e28dc3e72f
16 changed files with 207 additions and 27 deletions
|
@ -100,7 +100,7 @@ void CSVRender::Object::update()
|
|||
{
|
||||
std::string path = "meshes\\" + model;
|
||||
|
||||
mResourceSystem->getSceneManager()->createInstance(path, mBaseNode);
|
||||
mResourceSystem->getSceneManager()->getInstance(path, mBaseNode);
|
||||
}
|
||||
catch (std::exception& e)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue