More work on fixing script access to time

This commit is contained in:
Alexander Bock
2014-09-13 19:25:33 +02:00
parent 3afa0ecaa1
commit 0eeeb8efd6
6 changed files with 36 additions and 17 deletions

View File

@@ -337,11 +337,6 @@ bool OpenSpaceEngine::initialize()
// Register Lua script functions
scriptEngine().addLibrary(Time::luaLibrary());
//scripting::ScriptEngine::LuaLibrary timeLibrary = {
// "time",
//}
// Load scenegraph
SceneGraph* sceneGraph = new SceneGraph;
_renderEngine->setSceneGraph(sceneGraph);