mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-04 05:44:50 +02:00
Added domain and clipboard to the local trees
This commit is contained in:
parent
b033432684
commit
0026002ecb
1 changed files with 5 additions and 1 deletions
|
@ -60,6 +60,7 @@
|
|||
#include <PerfStat.h>
|
||||
#include <UUID.h>
|
||||
#include <VoxelSceneStats.h>
|
||||
#include <LocalVoxelsList.h>
|
||||
|
||||
#include "Application.h"
|
||||
#include "ClipboardScriptingInterface.h"
|
||||
|
@ -309,7 +310,10 @@ Application::Application(int& argc, char** argv, timeval &startup_time) :
|
|||
checkVersion();
|
||||
|
||||
_overlays.init(_glWidget); // do this before scripts load
|
||||
|
||||
|
||||
LocalVoxelsList::getInstance()->addPersistantTree("domain", _voxels.getTree());
|
||||
LocalVoxelsList::getInstance()->addPersistantTree("clipboard", &_clipboard);
|
||||
|
||||
// do this as late as possible so that all required subsystems are inialized
|
||||
loadScripts();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue