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:
@@ -316,7 +316,7 @@ void LLFloaterWater::show()
|
||||
bool LLFloaterWater::isOpen()
|
||||
{
|
||||
if (sWaterMenu != NULL) {
|
||||
return true;
|
||||
return sWaterMenu->getVisible();
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user