Compile fixes after merge

This commit is contained in:
Emil Axelsson
2017-07-18 14:21:17 +02:00
parent 5ced910f79
commit 8c124955fd
5 changed files with 14 additions and 8 deletions

View File

@@ -148,12 +148,14 @@ scripting::LuaLibrary KeyBindingManager::luaLibrary() {
{
"clearKeys",
&luascriptfunctions::clearKeys,
{},
"",
"Clear all key bindings"
},
{
"bindKey",
&luascriptfunctions::bindKey,
{},
"string, string [,string]",
"Binds a key by name to a lua string command to execute both locally "
"and to broadcast to clients if this is the host of a parallel session. "
@@ -164,6 +166,7 @@ scripting::LuaLibrary KeyBindingManager::luaLibrary() {
{
"bindKeyLocal",
&luascriptfunctions::bindKeyLocal,
{},
"string, string [,string]",
"Binds a key by name to a lua string command to execute only locally. "
"The first argument is the key, the second argument is the Lua command "

View File

@@ -276,18 +276,21 @@ scripting::LuaLibrary NavigationHandler::luaLibrary() {
{
"saveCameraStateToFile",
&luascriptfunctions::saveCameraStateToFile,
{},
"string",
"Save the current camera state to file"
},
{
"restoreCameraStateFromFile",
&luascriptfunctions::restoreCameraStateFromFile,
{},
"string",
"Restore the camera state from file"
},
{
"resetCameraDirection",
&luascriptfunctions::resetCameraDirection,
{},
"void",
"Reset the camera direction to point at the focus node"
}