Skip to content

Commit

Permalink
Restore (proportional) DSO hint sizes.
Browse files Browse the repository at this point in the history
  • Loading branch information
gzotti committed May 19, 2018
1 parent 443a1af commit 2e47920
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/modules/Nebula.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -799,7 +799,7 @@ void Nebula::drawHints(StelPainter& sPainter, float maxMagHints) const
float scaledSize = 0.0f;
if (drawHintProportional)
{
scaledSize = getAngularSize(Q_NULLPTR) *0.5 *M_PI/180.*sPainter.getProjector()->getPixelPerRadAtCenter();
scaledSize = getAngularSize(Q_NULLPTR) *M_PI/180.*sPainter.getProjector()->getPixelPerRadAtCenter();

}
const float finalSize=qMax(size, scaledSize);
Expand Down

0 comments on commit 2e47920

Please sign in to comment.