ovis: also take down SceneManager when Window is deleted

pull/2851/head
Pavel Rojtberg 4 years ago
parent 234bf196f0
commit 8c385d58f6
  1. 2
      modules/ovis/src/ovis.cpp

@ -410,6 +410,8 @@ public:
{
texMgr.remove(texName, RESOURCEGROUP_NAME);
}
root->destroySceneManager(sceneMgr);
}
if(_app->mainWin == this && (flags & SCENE_SEPARATE))

Loading…
Cancel
Save