Fix existing assets; Make the goToGeo function without altitude in the profile work

This commit is contained in:
Alexander Bock
2024-06-14 23:55:55 +02:00
parent 059ab70218
commit 43645ce7a4
8 changed files with 5 additions and 17 deletions
+1 -1
View File
@@ -1614,7 +1614,7 @@ void setCameraFromProfile(const Profile& p) {
}
else {
geoScript = std::format(
"openspace.globebrowsing.flyToGeo2([[{}]], {}, {}, 0)",
"openspace.globebrowsing.flyToGeo2([[{}]], {}, {}, false, 0)",
geo.anchor, geo.latitude, geo.longitude
);
}