Change from SkybrowserModule to SkyBrowserModule in lua function

This commit is contained in:
Ester Lindgren
2021-03-08 14:03:00 +01:00
parent 02c64802cf
commit fce49cf4ec
2 changed files with 1 additions and 2 deletions

View File

@@ -47,7 +47,6 @@ public:
float zoomFactor() const;
glm::dvec2 convertGalacticToCelestial(glm::dvec3 coords) const;
void showTarget() const;
void WWTfollowCamera();
void showTarget() const;

View File

@@ -34,7 +34,7 @@ namespace openspace::skybrowser::luascriptfunctions {
ghoul::lua::checkArgumentsAndThrow(L, 1, "lua::loadCollection");
// https://docs.worldwidetelescope.org/data-guide/1/data-file-formats/collections/sample-blank-collection.wtml
std::string url = ghoul::lua::value<std::string>(L, 1);
SkybrowserModule* module = global::moduleEngine->module<SkybrowserModule>();
SkyBrowserModule* module = global::moduleEngine->module<SkyBrowserModule>();
module->sendMessageToWWT(module->createMessageForLoadingWWTImgColl(url));
return 1;
}