]> git.mxchange.org Git - flightgear.git/commit
Patch from Andy Ross to hide virtual panel when required:
authordavid <david>
Wed, 6 Mar 2002 13:51:05 +0000 (13:51 +0000)
committerdavid <david>
Wed, 6 Mar 2002 13:51:05 +0000 (13:51 +0000)
commit0bdc1b169922886ea8d024cc6c6f34a7cbd8f571
tree3b4a4ba33144b05e7a1f7371a3ec1c2172af7739
parent40c83de415fa0a40b3e693482b8375041f2d215e
Patch from Andy Ross to hide virtual panel when required:

Oh yeah, I forgot to send that one along.  This one is my bug, I
goofed the precedence in the fgPanelVisible() function in panel.cxx
such that the panel was *always* visible if virtual cockpit was
enabled.  Here's a replacement.  I've modified the style from a single
boolean expression to an if-list, since that's more readable to my
eyes for expressions this big:
src/Cockpit/panel.cxx