Enable setting and getting property values from Lua scripts

This commit is contained in:
Alexander Bock
2014-08-31 17:52:02 +02:00
parent 5add1682d3
commit e7697a4ce0
13 changed files with 250 additions and 62 deletions

View File

@@ -222,14 +222,6 @@ void ScriptEngine::addLibraryFunctions(const LuaLibrary& library, bool replace)
}
void ScriptEngine::addBaseLibrary() {
ScriptEngine::LuaLibrary sceneGraphLibrary = {
"",
{
{ "setPropertyValue", &property_setValue}
// { "getPropertyValue", &property_getValue},
}
};
LuaLibrary lib = {
"",
{