Re: [Flightgear-devel] 2D panel display problem -- fixed? sort of

2012-06-23 Thread James Turner

On 23 Jun 2012, at 08:16, Catherine James wrote:

 I recently found a bug in some of the latest git build (next branch, June 13 
 and later).  When flying planes such as the T-38 with a 2D panel, the 2D 
 panel is always displayed even when you are using an outside view.  This bug 
 did not exist in 2.6.
 
 I've created a patch 3 lines long that fixes this bug for the T-38 and posted 
 the diff it under my ticket #790 in the bug tracker.  However, the fix messes 
 up the C310-ifr, which also uses a 2D panel; with the patch, the 2D panel 
 never displays at all even when you are in the cockpit.  (Without the patch, 
 the C310-ifr always shows the 2D panel regardless of which view you are in.)
 
 I'd appreciate if the person who owns the FGPanelNode code could reach out to 
 me and help me understand how this part of the code works and why my supposed 
 fix only works for some aircraft.

Will follow up on the ticket, but this is certainly my fault due to refactoring 
the panel to be loaded lazily. 

James

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] 2D panel display problem -- fixed? sort of

2012-06-23 Thread D-NXKT
Hello,

for me it's a feature and not a bug!
I often find it useful to watch the instruments while NOT sitting in the 
cockpit. And since the panel can be switched off interactively it's up to the 
user or aircraft author to enable it or not. Indeed I would prefer to make it 
visible for all views (at the moment the panel is only visible in forward-view 
direction). I think such a behavior could be an advantage over the 3D panels.

Best regards
D-NXKT  


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] 2D panel display problem -- fixed? sort of

2012-06-23 Thread James Turner

On 23 Jun 2012, at 10:56, D-NXKT wrote:

 for me it's a feature and not a bug!
 I often find it useful to watch the instruments while NOT sitting in the 
 cockpit. And since the panel can be switched off interactively it's up to the 
 user or aircraft author to enable it or not. Indeed I would prefer to make it 
 visible for all views (at the moment the panel is only visible in 
 forward-view direction). I think such a behavior could be an advantage over 
 the 3D panels.

I think there's already a property (and if not I can trivially add one) to 
control this behaviour, and then someone can add a GUI checkbox for it in the 
views dialog (or similar).

James

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] 2D panel display problem -- fixed? sort of

2012-06-23 Thread syd adams
. Indeed I would prefer to
 make it visible for all views (at the moment the panel is only visible in
 forward-view direction). I think such a behavior could be an advantage over
 the 3D panels.


 I think there's already a property (and if not I can trivially add one) to
 control this behaviour, and then someone can add a GUI checkbox for it in
 the views dialog (or similar).

 James

Back when i started the ATC 'aircraft' , Csaba added an autohide
feature to 2d panels . This keeps them on the display regardless of
view direction. autohide0/autohide needs to be added to the base
panel xml file. Aircraft/ATC/MP-ATC-panel.xml uses it.
Cheers

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel