Use localized names at bottom right
parent
2793756f91
commit
b9b02beb0e
|
@ -41,7 +41,7 @@ class ModelGeometry : public Geometry
|
|||
bool isOpaque() const override;
|
||||
bool isNormalized() const override;
|
||||
|
||||
void loadTextures();
|
||||
void loadTextures() override;
|
||||
|
||||
private:
|
||||
std::unique_ptr<cmod::Model> m_model;
|
||||
|
|
|
@ -3023,13 +3023,13 @@ static string getSelectionName(const Selection& sel, const Universe& univ)
|
|||
switch (sel.getType())
|
||||
{
|
||||
case Selection::Type_Body:
|
||||
return sel.body()->getName(false);
|
||||
return sel.body()->getName(true);
|
||||
case Selection::Type_DeepSky:
|
||||
return univ.getDSOCatalog()->getDSOName(sel.deepsky(), false);
|
||||
return univ.getDSOCatalog()->getDSOName(sel.deepsky(), true);
|
||||
case Selection::Type_Star:
|
||||
return univ.getStarCatalog()->getStarName(*sel.star(), true);
|
||||
case Selection::Type_Location:
|
||||
return sel.location()->getName(false);
|
||||
return sel.location()->getName(true);
|
||||
default:
|
||||
return {};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue