diff --git a/modules/skybrowser/skybrowsermodule.cpp b/modules/skybrowser/skybrowsermodule.cpp index 31408a2045..1656d1b2a7 100644 --- a/modules/skybrowser/skybrowsermodule.cpp +++ b/modules/skybrowser/skybrowsermodule.cpp @@ -171,8 +171,8 @@ namespace openspace { "input. An input string should be the name of the system host star" }, { - "create3dSkyBrowser", - &skybrowser::luascriptfunctions::create3dSkyBrowser, + "place3dSkyBrowser", + &skybrowser::luascriptfunctions::place3dSkyBrowser, {}, "string or list of strings", "Add one or multiple exoplanet systems to the scene, as specified by the " diff --git a/modules/skybrowser/skybrowsermodule_lua.inl b/modules/skybrowser/skybrowsermodule_lua.inl index 0cacc92280..c4c5fa8dd8 100644 --- a/modules/skybrowser/skybrowsermodule_lua.inl +++ b/modules/skybrowser/skybrowsermodule_lua.inl @@ -573,8 +573,8 @@ namespace openspace::skybrowser::luascriptfunctions { return 0; } - int create3dSkyBrowser(lua_State* L) { - ghoul::lua::checkArgumentsAndThrow(L, 1, "lua::create3dSkyBrowser"); + int place3dSkyBrowser(lua_State* L) { + ghoul::lua::checkArgumentsAndThrow(L, 1, "lua::place3dSkyBrowser"); // Image index to place in 3D const int i = ghoul::lua::value(L, 1); SkyBrowserModule* module = global::moduleEngine->module();