From kde-commits Sat Jan 19 14:52:45 2013 From: Rene Kuettner Date: Sat, 19 Jan 2013 14:52:45 +0000 To: kde-commits Subject: [marble/esasocis-2012-eclipse] src/plugins/render/eclipses: EclipsesPlugin: Fix calculation of sunse Message-Id: <20130119145245.B5303A6091 () git ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=135860717515534 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/ren= der/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 =3D new GeoDataLinearRing( Tessellate ); } if ( pline && ( np > 0 ) && ( lat4 <=3D 90. ) && ( lat3 <=3D 90. )= ) { - //*upperBoundary << GeoDataCoordinates( lng4, lat4, 0., GeoDat= aCoordinates::Degree ); + *upperBoundary << GeoDataCoordinates( lng4, lat4, 0., GeoDataC= oordinates::Degree ); } = lng1 =3D lng2;