[Kstars-devel] [kstars] kstars/projections: Don't show objects which are just below the horizon when ground is opac.
Jérôme SONRIER
jsid at emor3j.fr.eu.org
Thu Mar 8 00:54:48 UTC 2012
Git commit afb12cf258d6f80dca5bc563d7666e2cb1d358ad by Jérôme SONRIER.
Committed on 08/03/2012 at 01:53.
Pushed by jsonrier into branch 'master'.
Don't show objects which are just below the horizon when ground is opac.
CCBUG: 267731
CCMAIL: kstars-devel at kde.org
M +1 -1 kstars/projections/projector.cpp
http://commits.kde.org/kstars/afb12cf258d6f80dca5bc563d7666e2cb1d358ad
diff --git a/kstars/projections/projector.cpp b/kstars/projections/projector.cpp
index e8c1aff..34d3747 100644
--- a/kstars/projections/projector.cpp
+++ b/kstars/projections/projector.cpp
@@ -197,7 +197,7 @@ bool Projector::checkVisibility( SkyPoint *p ) const
if( p->alt().Degrees() < -1.0 ) return false;
}
*/ //Here we hope that the point has already been 'synchronized'
- if( m_vp.fillGround /*&& m_vp.useAltAz*/ && p->alt().Degrees() < -1.0 ) return false;
+ if( m_vp.fillGround /*&& m_vp.useAltAz*/ && p->alt().Degrees() < -0.5 ) return false;
if ( m_vp.useAltAz ) {
/** To avoid calculating refraction, we just use the unrefracted
More information about the Kstars-devel
mailing list