[Marble-commits] KDE/kdeedu/marble/src/lib
Torsten Rahn
tackat at kde.org
Thu Jul 9 14:53:28 CEST 2009
SVN commit 993748 by rahn:
BUG: 199487
Fixed.
M +3 -0 Projections/EquirectProjection.cpp
M +3 -0 Projections/MercatorProjection.cpp
M +3 -0 Projections/SphericalProjection.cpp
M +2 -2 geodata/data/GeoDataLineString.cpp
--- trunk/KDE/kdeedu/marble/src/lib/Projections/EquirectProjection.cpp #993747:993748
@@ -24,6 +24,9 @@
: AbstractProjection(),
d( 0 )
{
+ setRepeatX( repeatableX() );
+ setMinLat( minValidLat() );
+ setMaxLat( maxValidLat() );
}
EquirectProjection::~EquirectProjection()
--- trunk/KDE/kdeedu/marble/src/lib/Projections/MercatorProjection.cpp #993747:993748
@@ -26,6 +26,9 @@
: AbstractProjection(),
d( 0 )
{
+ setRepeatX( repeatableX() );
+ setMinLat( minValidLat() );
+ setMaxLat( maxValidLat() );
}
MercatorProjection::~MercatorProjection()
--- trunk/KDE/kdeedu/marble/src/lib/Projections/SphericalProjection.cpp #993747:993748
@@ -36,6 +36,9 @@
: AbstractProjection(),
d( 0 )
{
+ setRepeatX( repeatableX() );
+ setMinLat( minValidLat() );
+ setMaxLat( maxValidLat() );
}
SphericalProjection::~SphericalProjection()
--- trunk/KDE/kdeedu/marble/src/lib/geodata/data/GeoDataLineString.cpp #993747:993748
@@ -404,8 +404,8 @@
GeoDataLineString * unfinishedLineString = 0;
- GeoDataLineString * dateLineCorrected = q.isClosed() ? new GeoDataLinearRing( f )
- : new GeoDataLineString( f );
+ GeoDataLineString * dateLineCorrected = isClosed ? new GeoDataLinearRing( f )
+ : new GeoDataLineString( f );
qreal currentLon = 0.0;
qreal previousLon = 0.0;
More information about the Marble-commits
mailing list