[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdeedu/kstars/kstars/skycomponents
From: Jason Harris <kstars () 30doradus ! org>
Date: 2008-05-19 13:58:57
Message-ID: 1211205537.267657.3570.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 809809 by harris:
Eliminate a corner case that could cause the screen to be painted green
(as if pointed below the horizon), even when in equatorial coordinates.
CCMAIL: kstars-devel@kde.org
M +2 -2 horizoncomponent.cpp
--- trunk/KDE/kdeedu/kstars/kstars/skycomponents/horizoncomponent.cpp #809808:809809
@@ -90,7 +90,7 @@
psky.setPen( QPen( QColor( data->colorScheme()->colorNamed( "HorzColor" ) ), 2, Qt::SolidLine ) );
- if ( Options::showGround() )
+ if ( Options::useAltAz() && Options::showGround() )
psky.setBrush( QColor ( data->colorScheme()->colorNamed( "HorzColor" ) ) );
else
psky.setBrush( Qt::NoBrush );
@@ -217,7 +217,7 @@
//Ground fills the screen. Reset groundPoly to surround screen perimeter
//Just draw the poly (if ground is filled)
//No need for compass labels or "Horizon" label
- if ( Options::showGround() ) {
+ if ( Options::useAltAz() && Options::showGround() ) {
groundPoly.clear();
groundPoly << QPointF( -10., -10. )
<< QPointF( Width + 10., -10. )
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic