Fix bug where no value is returned from Lua script

This commit is contained in:
Alexander Bock
2015-02-24 10:49:12 +01:00
parent c62a766b2f
commit d7203688b1
+1
View File
@@ -164,6 +164,7 @@ namespace openspace {
return luaL_error(L, "Expected argument of type 'bool'");
bool b = lua_toboolean(L, -1) != 0;
OsEng.renderEngine()->setSGCTRenderStatistics(b);
return 0;
}
/**