[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdeedu/marble/src/plugins/render/graticule
From:       Torsten Rahn <tackat () kde ! org>
Date:       2009-03-30 0:55:29
Message-ID: 1238374529.611647.25165.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 946679 by rahn:


- Fixing Graticule for geodata-ng ...



 M  +4 -4      GraticulePlugin.cpp  


--- trunk/KDE/kdeedu/marble/src/plugins/render/graticule/GraticulePlugin.cpp #946678:946679
@@ -125,9 +125,9 @@
     GeoDataCoordinates n4(+90.0, latitude, 0.0, GeoDataCoordinates::Degree );
     GeoDataCoordinates n5(+180.0, latitude, 0.0, GeoDataCoordinates::Degree );
 
-    GeoDataLineString circle( 0, Tessellate | RespectLatitudeCircle ) ;
+    GeoDataLineString circle( Tessellate | RespectLatitudeCircle ) ;
 
-    circle << &n1 << &n2 << &n3 << &n4 << &n5;
+    circle << n1 << n2 << n3 << n4 << n5;
 
     painter->drawPolyline( circle );     
 }
@@ -140,9 +140,9 @@
     GeoDataCoordinates n4(longitude + 180.0, 0.0, 0.0, GeoDataCoordinates::Degree );
     GeoDataCoordinates n5(longitude, 90.0, 0.0, GeoDataCoordinates::Degree );
 
-    GeoDataLineString circle( 0, Tessellate ) ;
+    GeoDataLineString circle( Tessellate ) ;
 
-    circle << &n1 << &n2 << &n3 << &n4 << &n5;
+    circle << n1 << n2 << n3 << n4 << n5;
 
     painter->drawPolyline( circle );     
 }
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic