Syd&Sandy wrote:
Hi Laurence , I can't seem to get anything with OSG version either , so I suspect I've done something wrong here ...
I'm still investigating ... (just about finished recompiling todays OSG , SG and FGFS)
Try this patch if you are on Windoze, because the current code does not
load the traffic from $fg_root/data/ai/arports for me.
HJ.
Index: TrafficMgr.cxx
===================================================================
RCS file: /var/cvs/FlightGear-0.9/source/src/Traffic/TrafficMgr.cxx,v
retrieving revision 1.13.2.5
diff -u -r1.13.2.5 TrafficMgr.cxx
--- TrafficMgr.cxx 31 May 2007 19:51:34 -0000 1.13.2.5
+++ TrafficMgr.cxx 6 Aug 2007 16:50:39 -0000
@@ -127,10 +127,8 @@
readXML(path.str(),*this);
aircraftDir.append("AI/Aircraft");
- if (aircraftDir.exists())
+ if ((d = ulOpenDir(aircraftDir.c_str())) != NULL)
{
- if((d = ulOpenDir(aircraftDir.c_str())) == NULL)
- return;
while((dent = ulReadDir(d)) != NULL) {
//cerr << "Scanning : " << dent->d_name << endl;
if (string(dent->d_name) != string(".") &&
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Flightgear-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-users