History

Add comments to DebugDraw instanciation

Atlante45 committed 9 years ago

Commit b3d73fd1 parent 7160fca2 files · +3 −1Browse files

Showing the changes to assignment-client/src/scripts/EntityScriptServer.cpp (1 of 2 files). Show all

Unified · Split

assignment-client/src/scripts/EntityScriptServer.cpp+1−0
@@ -68,6 +68,7 @@ EntityScriptServer::EntityScriptServer(ReceivedMessage& message) : ThreadedAssig · 67 unmodified lines
68 DependencyManager::set<ScriptCache>();68 DependencyManager::set<ScriptCache>();
69 DependencyManager::set<ScriptEngines>(ScriptEngine::ENTITY_SERVER_SCRIPT);69 DependencyManager::set<ScriptEngines>(ScriptEngine::ENTITY_SERVER_SCRIPT);
70 70
71 // Needed to ensure the creation of the DebugDraw instance on the main thread
71 DebugDraw::getInstance();72 DebugDraw::getInstance();
72 73
73 auto& packetReceiver = DependencyManager::get<NodeList>()->getPacketReceiver();74 auto& packetReceiver = DependencyManager::get<NodeList>()->getPacketReceiver();