Cure Issue 1586: Singularity crashes when adding classified adds on opensim grids (untested in SL)

Following as it is done upstream, no more requests on null ids.
This commit is contained in:
Inusaito Sayori
2014-07-09 16:45:40 -04:00
parent 8c40af5aee
commit deb7454cf7
2 changed files with 4 additions and 11 deletions

View File

@@ -488,7 +488,7 @@ void LLAvatarPropertiesProcessor::notifyObservers(const LLUUID& id,void* data, E
// only notify observers for the same agent, or if the observer
// didn't know the agent ID and passed a NULL id.
const LLUUID &agent_id = oi->first;
if (agent_id == id || (type == APT_CLASSIFIED_INFO && agent_id.isNull())) // Singu Note: Classifieds are the only ones registering null ids.
if (agent_id == id || agent_id.isNull())
{
oi->second->processProperties(data,type);
}