[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [marble/esasocis-2012-eclipse] src/plugins/render/eclipses: EclipsesPlugin: Fix calculation of sunse
From: Rene Kuettner <rene () bitkanal ! net>
Date: 2013-01-19 14:52:45
Message-ID: 20130119145245.B5303A6091 () git ! kde ! org
[Download RAW message or body]
Git commit 49d04faf2c50e145d0850e2289431abe4d01772b by Rene Kuettner.
Committed on 19/01/2013 at 15:51.
Pushed by renek into branch 'esasocis-2012-eclipse'.
EclipsesPlugin: Fix calculation of sunset/sunrise boundaries
M +1 -1 src/plugins/render/eclipses/EclipsesItem.cpp
http://commits.kde.org/marble/49d04faf2c50e145d0850e2289431abe4d01772b
diff --git a/src/plugins/render/eclipses/EclipsesItem.cpp b/src/plugins/render/eclipses/EclipsesItem.cpp
index 707ff0c..b938de7 100644
--- a/src/plugins/render/eclipses/EclipsesItem.cpp
+++ b/src/plugins/render/eclipses/EclipsesItem.cpp
@@ -392,7 +392,7 @@ void EclipsesItem::calculate()
upperBoundary = new GeoDataLinearRing( Tessellate );
}
if ( pline && ( np > 0 ) && ( lat4 <= 90. ) && ( lat3 <= 90. ) ) {
- //*upperBoundary << GeoDataCoordinates( lng4, lat4, 0., GeoDataCoordinates::Degree );
+ *upperBoundary << GeoDataCoordinates( lng4, lat4, 0., GeoDataCoordinates::Degree );
}
lng1 = lng2;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic