diff options
author | Denis Serdjuk <dserduk@productengine.com> | 2010-02-02 14:49:58 +0200 |
---|---|---|
committer | Denis Serdjuk <dserduk@productengine.com> | 2010-02-02 14:49:58 +0200 |
commit | 47162acede25dadae52fb43bd36f57fa26988aa5 (patch) | |
tree | 8217e4cfab305786768580dc780eaef9e964f3c9 | |
parent | 5faa8b44d557756425e8442b6dac7e7512861f2b (diff) |
no ticket. Removing the hack from llfloater.This code is dangerous. It involved losing of topctrl in focusmgr and can cause strange bugs and problems.
--HG--
branch : product-engine
-rw-r--r-- | indra/llui/llfloater.cpp | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/indra/llui/llfloater.cpp b/indra/llui/llfloater.cpp index 3b3e644d10..a55915af35 100644 --- a/indra/llui/llfloater.cpp +++ b/indra/llui/llfloater.cpp @@ -1650,24 +1650,8 @@ void LLFloater::draw() } else { - //FIXME: get rid of this hack - // draw children - LLView* focused_child = dynamic_cast<LLView*>(gFocusMgr.getKeyboardFocus()); - BOOL focused_child_visible = FALSE; - if (focused_child && focused_child->getParent() == this) - { - focused_child_visible = focused_child->getVisible(); - focused_child->setVisible(FALSE); - } - // don't call LLPanel::draw() since we've implemented custom background rendering LLView::draw(); - - if (focused_child_visible) - { - focused_child->setVisible(TRUE); - } - drawChild(focused_child); } // update tearoff button for torn off floaters |