diff --git a/indra/llui/llfloater.cpp b/indra/llui/llfloater.cpp index 0ff8f0366b..8e60e7b293 100644 --- a/indra/llui/llfloater.cpp +++ b/indra/llui/llfloater.cpp @@ -600,6 +600,11 @@ LLControlGroup* LLFloater::getControlGroup() void LLFloater::setVisible( BOOL visible ) { + // Ansariel: This method is called everytime the UI updates. + // Why should we want to update visibility even + // if nothing has changed? + if (visible == LLPanel::getVisible()) return; + LLPanel::setVisible(visible); // calls handleVisibilityChange() if( visible && mFirstLook ) {