Hello!

I run into this trouble if I right-click in the Concorde copilot view:

0x00000000008b7fe2 in FGPanelNode::doMouseAction (this=0xac79ea0,
button=2, updown=0, x=889, y=488) at src/Model/panelnode.cxx:158
158         float vx = (x + 0.5 - _lastViewport[0]) / _lastViewport[2];
(gdb) p _lastViewport
$5 = {9.4795521722123961e-316, 5.5497596235220107e+180,
9.4720298100165551e-76, 6.970013824563042e-90}

Looks like uninitialized. This should be set by
FGPanelNode::drawImplementation but apparently that hasn't been called
yet. Maybe the panel isn't drawn because it is not in view (culled),
but the event handling code is called anyway? I see there is an
OSGFIXME comment, suggesting to use "picking" instead.

-- 
Csaba/Jester

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to