To reproduce: start the Concorde, and press right mouse button when
the cockpit loads.

0x000000000087252a in FGPanelNode::doMouseAction (this=0xa2e01e0,
button=2, updown=0, x=598, y=312) at src/Model/panelnode.cxx:160
160         float vx = (x + 0.5 - _lastViewport[0]) / _lastViewport[2];
(gdb) p _lastViewport
$1 = {8.4380776008797153e-316, 1.9762625833649862e-323,
2.1219957904712067e-314, 9.0309162462695689e-90}

Apparently this is because the mouse handler is called before
FGPanelNode::drawImplementation is invoked (that's the function which
sets the _lastViewport).
Any ideas?

-- 
Csaba/Jester

------------------------------------------------------------------------------
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to