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