Re: [Flightgear-devel] c172-dpm.ac

2005-11-12 Thread Erik Hofman

Dave Culp wrote:

The message:

WARNING: ssgLoadAC: Failed to open 
'/home/dave/FlightGear-0.9.9-pre2/data/Aircraft/c172r/Models/c172-dpm.ac' for 
reading


I've already fixed this by referencing the default c172p instead.

Erik

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


[Flightgear-devel] c172-dpm.ac

2005-11-11 Thread Dave Culp
The message:

WARNING: ssgLoadAC: Failed to open 
'/home/dave/FlightGear-0.9.9-pre2/data/Aircraft/c172r/Models/c172-dpm.ac' for 
reading


appears all the time now because FGAIMgr::init() attempts to pre-load this 
model even if the AI-Traffic system is disabled (and it's disabled by 
default).See  src/ATC/AIMgr.cxx lines 78-95.   It also assumes that the 
c172-dpm.ac model will exist.  

One solution is to fix FGAIMgr to not do this.  Another solution would be to 
put the c172-dpm.ac model in the data/Models/Geometry directory and fix the 
FGAIMgr to look there instead.


Dave

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d