V2 llmath merge

This commit is contained in:
Shyotl
2011-02-22 21:44:04 -06:00
parent b31db27545
commit 7deee9336c
34 changed files with 371 additions and 192 deletions

View File

@@ -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;
}