mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
Add comments to DebugDraw instanciation
This commit is contained in:
parent
7160fca4f7
commit
b3d73fd0df
2 changed files with 3 additions and 1 deletions
|
@ -81,7 +81,8 @@ Agent::Agent(ReceivedMessage& message) :
|
|||
|
||||
DependencyManager::set<RecordingScriptingInterface>();
|
||||
DependencyManager::set<UsersScriptingInterface>();
|
||||
|
||||
|
||||
// Needed to ensure the creation of the DebugDraw instance on the main thread
|
||||
DebugDraw::getInstance();
|
||||
|
||||
|
||||
|
|
|
@ -68,6 +68,7 @@ EntityScriptServer::EntityScriptServer(ReceivedMessage& message) : ThreadedAssig
|
|||
DependencyManager::set<ScriptCache>();
|
||||
DependencyManager::set<ScriptEngines>(ScriptEngine::ENTITY_SERVER_SCRIPT);
|
||||
|
||||
// Needed to ensure the creation of the DebugDraw instance on the main thread
|
||||
DebugDraw::getInstance();
|
||||
|
||||
auto& packetReceiver = DependencyManager::get<NodeList>()->getPacketReceiver();
|
||||
|
|
Loading…
Reference in a new issue