Remove the user data from the Lua function definition

This commit is contained in:
Alexander Bock
2021-11-04 16:27:54 +01:00
parent e3e468d5ef
commit 55ee3d2785
31 changed files with 33 additions and 239 deletions
-4
View File
@@ -255,7 +255,6 @@ scripting::LuaLibrary ExoplanetsModule::luaLibrary() const {
{
"addExoplanetSystem",
&exoplanets::luascriptfunctions::addExoplanetSystem,
{},
"string or list of strings",
"Add one or multiple exoplanet systems to the scene, as specified by the "
"input. An input string should be the name of the system host star"
@@ -263,14 +262,12 @@ scripting::LuaLibrary ExoplanetsModule::luaLibrary() const {
{
"removeExoplanetSystem",
&exoplanets::luascriptfunctions::removeExoplanetSystem,
{},
"string",
"Removes the nodes of the specified exoplanet system from the scene graph"
},
{
"listAvailableExoplanetSystems",
&exoplanets::luascriptfunctions::listAvailableExoplanetSystems,
{},
"",
"Prints a list with the names of all exoplanet systems that can be added to "
"the scene graph to the OpenSpace Log"
@@ -278,7 +275,6 @@ scripting::LuaLibrary ExoplanetsModule::luaLibrary() const {
{
"getListOfExoplanets",
&exoplanets::luascriptfunctions::getListOfExoplanets,
{},
"",
"Gets a list with the names of all exoplanet systems"
}