mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-04-28 14:59:31 -05:00
Remove the user data from the Lua function definition
This commit is contained in:
@@ -152,21 +152,18 @@ scripting::LuaLibrary Dashboard::luaLibrary() {
|
||||
{
|
||||
"addDashboardItem",
|
||||
&luascriptfunctions::addDashboardItem,
|
||||
{},
|
||||
"table",
|
||||
"Adds a new dashboard item to the main dashboard."
|
||||
},
|
||||
{
|
||||
"removeDashboardItem",
|
||||
&luascriptfunctions::removeDashboardItem,
|
||||
{},
|
||||
"string",
|
||||
"Removes the dashboard item with the specified identifier."
|
||||
},
|
||||
{
|
||||
"clearDashboardItems",
|
||||
&luascriptfunctions::clearDashboardItems,
|
||||
{},
|
||||
"",
|
||||
"Removes all dashboard items from the main dashboard."
|
||||
}
|
||||
|
||||
@@ -1060,7 +1060,6 @@ scripting::LuaLibrary RenderEngine::luaLibrary() {
|
||||
{
|
||||
"addScreenSpaceRenderable",
|
||||
&luascriptfunctions::addScreenSpaceRenderable,
|
||||
{},
|
||||
"table",
|
||||
"Will create a ScreenSpaceRenderable from a lua Table and add it in the "
|
||||
"RenderEngine"
|
||||
@@ -1068,7 +1067,6 @@ scripting::LuaLibrary RenderEngine::luaLibrary() {
|
||||
{
|
||||
"removeScreenSpaceRenderable",
|
||||
&luascriptfunctions::removeScreenSpaceRenderable,
|
||||
{},
|
||||
"string",
|
||||
"Given a ScreenSpaceRenderable name this script will remove it from the "
|
||||
"renderengine"
|
||||
@@ -1076,12 +1074,11 @@ scripting::LuaLibrary RenderEngine::luaLibrary() {
|
||||
{
|
||||
"takeScreenshot",
|
||||
&luascriptfunctions::takeScreenshot,
|
||||
{},
|
||||
"",
|
||||
"Take a screenshot and return the screenshot number. The screenshot will "
|
||||
"be stored in the ${SCREENSHOTS} folder. "
|
||||
}
|
||||
},
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user