mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-04-22 19:29:04 -05:00
Change sky browser to use id's instead of indices to get the images
This commit is contained in:
@@ -318,8 +318,8 @@ void SkyBrowserModule::setHoverCircle(SceneGraphNode* circle) {
|
||||
disableHoverCircle();
|
||||
}
|
||||
|
||||
void SkyBrowserModule::moveHoverCircle(int i, bool useScript) {
|
||||
const ImageData& image = _dataHandler.image(i);
|
||||
void SkyBrowserModule::moveHoverCircle(const std::string& imageUrl, bool useScript) {
|
||||
const ImageData& image = _dataHandler.image(imageUrl);
|
||||
|
||||
// Only move and show circle if the image has coordinates
|
||||
if (!(_hoverCircle && image.hasCelestialCoords && _isCameraInSolarSystem)) {
|
||||
|
||||
Reference in New Issue
Block a user