Don't hammer every object on a sim for MediaData when MOAP is not supported (like OpenSim)

Cinders 2012-10-29 14:52:33 -06:00
parent 9d3aae6259
commit 0511eb162f
1 changed files with 4 additions and 1 deletions

View File

@ -487,7 +487,10 @@ U32 LLVOVolume::processUpdateMessage(LLMessageSystem *mesgsys,
}
}
}
if (retval & (MEDIA_URL_REMOVED | MEDIA_URL_ADDED | MEDIA_URL_UPDATED | MEDIA_FLAGS_CHANGED))
// <FS:CR> OpenSim returns a zero. Don't request MediaData where MOAP isn't supported
//if (retval & (MEDIA_URL_REMOVED | MEDIA_URL_ADDED | MEDIA_URL_UPDATED | MEDIA_FLAGS_CHANGED))
if (retval != 0 && retval & (MEDIA_URL_REMOVED | MEDIA_URL_ADDED | MEDIA_URL_UPDATED | MEDIA_FLAGS_CHANGED))
// </FS:CR>
{
// If only the media URL changed, and it isn't a media version URL,
// ignore it