[Marble-commits] branches/KDE/4.3/kdeedu/marble/src/lib
Torsten Rahn
tackat at kde.org
Thu Jul 9 14:54:14 CEST 2009
SVN commit 993749 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
--- branches/KDE/4.3/kdeedu/marble/src/lib/Projections/EquirectProjection.cpp #993748:993749
@@ -24,6 +24,9 @@
: AbstractProjection(),
d( 0 )
{
+ setRepeatX( repeatableX() );
+ setMinLat( minValidLat() );
+ setMaxLat( maxValidLat() );
}
EquirectProjection::~EquirectProjection()
--- branches/KDE/4.3/kdeedu/marble/src/lib/Projections/MercatorProjection.cpp #993748:993749
@@ -26,6 +26,9 @@
: AbstractProjection(),
d( 0 )
{
+ setRepeatX( repeatableX() );
+ setMinLat( minValidLat() );
+ setMaxLat( maxValidLat() );
}
MercatorProjection::~MercatorProjection()
--- branches/KDE/4.3/kdeedu/marble/src/lib/Projections/SphericalProjection.cpp #993748:993749
@@ -36,6 +36,9 @@
: AbstractProjection(),
d( 0 )
{
+ setRepeatX( repeatableX() );
+ setMinLat( minValidLat() );
+ setMaxLat( maxValidLat() );
}
SphericalProjection::~SphericalProjection()
--- branches/KDE/4.3/kdeedu/marble/src/lib/geodata/data/GeoDataLineString.cpp #993748:993749
@@ -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