diff options
author | Mike Antipov <mantipov@productengine.com> | 2010-01-26 17:04:13 +0200 |
---|---|---|
committer | Mike Antipov <mantipov@productengine.com> | 2010-01-26 17:04:13 +0200 |
commit | 3a0226824b7d03f7ad745af995066cfa99833cbc (patch) | |
tree | 26d40c70bfcdcc1baeba560c34c4bf4d3ba19581 /indra | |
parent | 05b91f636bee32f6343765dfbae96b103e14f5a2 (diff) |
Fixed normal bug EXT-4718 ( Stop Flying button is displayed in the mouse look mode)
- restore base processing of visibility of Panel with "stand/stop flying" buttons broken in EXT-2504
--HG--
branch : product-engine
Diffstat (limited to 'indra')
-rw-r--r-- | indra/newview/llmoveview.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llmoveview.cpp b/indra/newview/llmoveview.cpp index de8ea98e05..5981baab60 100644 --- a/indra/newview/llmoveview.cpp +++ b/indra/newview/llmoveview.cpp @@ -595,6 +595,10 @@ void LLPanelStandStopFlying::setVisible(BOOL visible) //change visibility of parent layout_panel to animate in/out. EXT-2504 if (getParent()) getParent()->setVisible(visible); } + + // also change own visibility to avoid displaying the panel in mouselook (broken when EXT-2504 was implemented). + // See EXT-4718. + LLPanel::setVisible(visible); } BOOL LLPanelStandStopFlying::handleToolTip(S32 x, S32 y, MASK mask) |