[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/KDE/4.2/kdeedu/marble/src/lib
From: Torsten Rahn <tackat () kde ! org>
Date: 2009-01-11 21:19:59
Message-ID: 1231708799.249408.15278.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 909580 by rahn:
- Fixing MeasureTool regression as discovered by SaroEngels ...
M +3 -8 MeasureTool.cpp
--- branches/KDE/4.2/kdeedu/marble/src/lib/MeasureTool.cpp #909579:909580
@@ -208,15 +208,10 @@
// Let itpos be a quaternion that is between prevqpos and qpos.
itpos.nlerp( prevqpos, qpos, t );
itpos.getSpherical( lon, lat );
- if ( viewport->currentProjection()
+ viewport->currentProjection()
->screenCoordinates( GeoDataCoordinates( lon, lat ), viewport,
- x, y ) )
- {
- distancePath << QPointF( x, y );
- }
- else {
- //qDebug() << "(x,y): " << x << y;
- }
+ x, y );
+ distancePath << QPointF( x, y );
}
// Now actually paint the path. Repeat it if the projection allows it.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic