Skip to content

Commit

Permalink
Allow moving to a NomenclatureItem location (Fix #3355)
Browse files Browse the repository at this point in the history
  • Loading branch information
gzotti committed Aug 6, 2023
1 parent f00b9e7 commit 5d3ef97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/StelCore.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1265,7 +1265,7 @@ void StelCore::moveObserverToSelected()
StelLocation loc(ni->getEnglishName(), "", "", ni->getPlanet()->getEnglishName(), ni->getLongitude(), ni->getLatitude(), 0, 0, getCurrentTimeZone(), 1, 'X', ni->getPlanet()->getEnglishName());
loc.lightPollutionLuminance = 0; // be dead sure it's zero!

moveObserverTo(loc, 1, 1, pl->getEnglishName());
moveObserverTo(loc, 1, 1, ni->getPlanet()->getEnglishName());
objmgr->unSelect(); // no use to keep it: Marker will flicker around the screen.
}
}
Expand Down

0 comments on commit 5d3ef97

Please sign in to comment.