Add the ability for LuaLibrary%s to reference script files that will be executed (closing #328)

Create documentation for Lua scripts
Add Lua script to check if a file exists
This commit is contained in:
Alexander Bock
2017-06-02 16:33:17 -04:00
parent bb3256d9e4
commit 994ba32f44
9 changed files with 210 additions and 57 deletions
@@ -111,4 +111,14 @@ globebrowsing::cache::MemoryAwareTileCache* GlobeBrowsingModule::tileCache() {
return _tileCache.get();
}
scripting::LuaLibrary GlobeBrowsingModule::luaLibrary() const {
return {
"globebrowsing",
{},
{
"${MODULE_GLOBEBROWSING}/scripts/layer_support.lua"
}
};
}
} // namespace openspace