Hi,

I'm sorry for the OT, but I tried on atlas list and its spam filter doesn't 
like my face so someone on #flightgear told me to post it here in case it 
interest someone. It's just a fix for this bug (patch attached) : 

https://sourceforge.net/tracker/index.php?func=detail&aid=1862898&group_id=9456&atid=359456

By the way, is it true that atlas is not maintained anymore, and if yes is 
there a replacement project ?

thanks,
--
Cédric Lucantis
Index: src/MapMaker.cxx
===================================================================
RCS file: /cvsroot/atlas/Atlas/src/MapMaker.cxx,v
retrieving revision 1.44
diff -u -p -u -r1.44 MapMaker.cxx
--- src/MapMaker.cxx	10 Dec 2007 08:29:30 -0000	1.44
+++ src/MapMaker.cxx	12 Jan 2008 14:49:46 -0000
@@ -741,8 +741,8 @@ int MapMaker::process_binary_file( char 
   // http://www.flightgear.org/Docs/Scenery/CoordinateSystem/CoordinateSystem.html
   //
   // for more.
-  const point_list wgs84_nodes = tile.get_wgs84_nodes();
-  for ( point_list::const_iterator node = wgs84_nodes . begin(); 
+  const std::vector<SGVec3d> wgs84_nodes = tile.get_wgs84_nodes();
+  for ( std::vector<SGVec3d>::const_iterator node = wgs84_nodes . begin(); 
 	node != wgs84_nodes . end();
 	node++ ) {
     float *nv = new sgVec3;
@@ -762,8 +762,8 @@ int MapMaker::process_binary_file( char 
   }
 
   // same as above for normals
-  const point_list m_norms = tile.get_normals();
-  for ( point_list::const_iterator normal = m_norms.begin(); 
+  const std::vector<SGVec3<float> > m_norms = tile.get_normals();
+  for ( std::vector<SGVec3<float> >::const_iterator normal = m_norms.begin(); 
 	normal != m_norms.end();
 	normal++ ) {
     // Make a new normal
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to