mirror of
https://github.com/overte-org/overte.git
synced 2025-04-25 22:36:39 +02:00
Fixed _sharedVoxelSystemTree deleted twice
This commit is contained in:
parent
fc991bf1ac
commit
f21a2798ff
1 changed files with 2 additions and 0 deletions
|
@ -235,6 +235,8 @@ Application::Application(int& argc, char** argv, timeval &startup_time) :
|
||||||
Application::~Application() {
|
Application::~Application() {
|
||||||
NodeList::getInstance()->removeHook(&_voxels);
|
NodeList::getInstance()->removeHook(&_voxels);
|
||||||
NodeList::getInstance()->removeHook(this);
|
NodeList::getInstance()->removeHook(this);
|
||||||
|
|
||||||
|
_sharedVoxelSystem.changeTree(new VoxelTree);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Application::initializeGL() {
|
void Application::initializeGL() {
|
||||||
|
|
Loading…
Reference in a new issue