Windlight floaters' isOpen() functions were always returning true after singleton was created, regardless of current visiblity status. Resulted in pointless syncMenu calls which are very expensive.

This commit is contained in:
Shyotl
2011-10-10 10:20:13 -05:00
parent a3aec92396
commit d73c6d84bf
4 changed files with 4 additions and 4 deletions

View File

@@ -316,7 +316,7 @@ void LLFloaterWater::show()
bool LLFloaterWater::isOpen()
{
if (sWaterMenu != NULL) {
return true;
return sWaterMenu->getVisible();
}
return false;
}