Added key binding from Lua possible

- Possible to add key bindings from Lua possible. This calls Lua scripts
  from key commands.

 - Temporary fixed a small bug for volume rendering
This commit is contained in:
Jonas Strandstedt
2014-11-17 17:02:40 +01:00
parent 8d2503b68e
commit 31c76f3e3c
10 changed files with 443 additions and 170 deletions

View File

@@ -258,7 +258,7 @@ bool ScriptEngine::runScript(const std::string& script) {
return false;
}
LDEBUG("Executing script");
//LDEBUG("Executing script");
if (lua_pcall(_state, 0, LUA_MULTRET, 0)) {
LERROR("Error executing script: " << lua_tostring(_state, -1));
return false;