prev
More Info
Revision 830717
(Back to Digest)
next


Commit Details
Bug Fixes in Educational
Henry de Valence committed changes in /trunk/KDE/kdeedu/marble/src:
Add a new function, GeoDataPoint::normalizeLonLat( double &lon, double &lat ) and made the map overview call it first before calculating.

The reason you would use this instead of just calling both normalize functions is that this take into accout the effects that they have on each other; eg if the north pole is crossed, the longitude should be inverted.

Also fixes some holes in the math of the previous GeoDataPoint::normalizeLat( double lat ) which allowed certain conditions to let invalid values escape.

The main practical effect of this for now is that the white dot disappearing thing now doesn't happen.
Bug 166161: White dot on "Map overview" floater disappears when mov...

File Changes
Modified 3 files
/trunk/KDE/kdeedu/marble/src
/lib/geodata/data/GeoDataPoint.cpp
/lib/geodata/data/GeoDataPoint.h
/plugins/marble/overviewmap/MarbleOverviewMap.cpp
Added 1 file
/trunk/KDE/kdeedu/marble/src
Deleted 1 file
/trunk/KDE/kdeedu/marble/src
5 files changed in total

KDE Commit-Digest by Danny Allen, 2006-2009
All issues in archive by Derek Kite