Bugs: Difference between revisions

Jump to navigation Jump to search
877 bytes removed ,  1 April 2007
Line 531: Line 531:


* This is an effect of the render-as-fast-as-you-can approach taken by FlightGear. Presumably the user still wants to be able to interact with the graphics when the simulator is paused. Activating sync to VBLANK might give the desired result  if the cpu is fast enough to have time over between the frames. (Since most of the work in glxgear is done by the GPU it can much easier saturate the GPU with little CPU effort than FlightGear can.)
* This is an effect of the render-as-fast-as-you-can approach taken by FlightGear. Presumably the user still wants to be able to interact with the graphics when the simulator is paused. Activating sync to VBLANK might give the desired result  if the cpu is fast enough to have time over between the frames. (Since most of the work in glxgear is done by the GPU it can much easier saturate the GPU with little CPU effort than FlightGear can.)
==== Misdirected diagnostic in JSBSim.cxx ====
The file JSBSim.cxx contains the following code:
    if (!cache_ok) {
      SG_LOG(SG_FLIGHT, SG_WARN,
            "FGInterface is being called without scenery below the aircraft!");
      cout << "altitude        = " << alt << endl;
      cout << "sea level radius = " << slr << endl;
      cout << "latitude        = " << lat << endl;
      cout << "longitude        = " << lon << endl;
      //return;
    }
Apparently this "ought" to be a five-line diagnostic message. 
In fact, the first line is directed to the SG_LOG at priority SG_WARN,
while the other four lines are directed to cout regardless of
priority.  This makes both the log and the console record hard
to interpret.
This bug has been fixed in the [[http://jsbsim.sourceforge.net/ SF CVS]] version of JSBSim but not yet pulled into the FG version.


==== Out-of-bounds array reference in JSBSim ====
==== Out-of-bounds array reference in JSBSim ====
Line 678: Line 655:
#13 0x0806e452 in do_exit (arg=0xf186950) at fg_commands.cxx:224
#13 0x0806e452 in do_exit (arg=0xf186950) at fg_commands.cxx:224
</code>
</code>


== Missing Features and Traps for the Unwary ==
== Missing Features and Traps for the Unwary ==
189

edits

Navigation menu