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

This commit is contained in:
Inusaito Sayori
2014-07-09 15:29:38 -04:00
parent 759ee62e7c
commit dd893bab41

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 || agent_id.isNull())
if (agent_id == id || (type == APT_CLASSIFIED_INFO && agent_id.isNull())) // Singu Note: Classifieds are the only ones registering null ids.
{
oi->second->processProperties(data,type);
}