V2 llmath merge
This commit is contained in:
@@ -392,7 +392,7 @@ bool LLPluginClassMedia::textureValid(void)
|
||||
|
||||
bool LLPluginClassMedia::getDirty(LLRect *dirty_rect)
|
||||
{
|
||||
bool result = !mDirtyRect.isNull();
|
||||
bool result = !mDirtyRect.isEmpty();
|
||||
|
||||
if(dirty_rect != NULL)
|
||||
{
|
||||
@@ -768,7 +768,7 @@ void LLPluginClassMedia::receivePluginMessage(const LLPluginMessage &message)
|
||||
newDirtyRect.mBottom = temp;
|
||||
}
|
||||
|
||||
if(mDirtyRect.isNull())
|
||||
if(mDirtyRect.isEmpty())
|
||||
{
|
||||
mDirtyRect = newDirtyRect;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user