meow-7.2.2
Tofu Linden 2010-02-02 18:19:36 +00:00
commit 7ba025b625
1 changed files with 0 additions and 16 deletions

View File

@ -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