/// <summary> /// Removes the green aura when an a new scene object group is deleted. /// </summary> public void RemoveOrUpdateDeletedEntity(SceneObjectGroup group) { // Deal with new parts not revisioned that have been deleted. foreach (SceneObjectPart part in group.Children.Values) { if (m_MetaEntityCollection.Auras.ContainsKey(part.UUID)) { m_MetaEntityCollection.RemoveNewlyCreatedEntityAura(part.UUID); } } }
/// <summary> /// Removes the green aura when an a new scene object group is deleted. /// </summary> public void RemoveOrUpdateDeletedEntity(SceneObjectGroup group) { // Deal with new parts not revisioned that have been deleted. SceneObjectPart[] parts = group.Parts; for (int i = 0; i < parts.Length; i++) { if (m_MetaEntityCollection.Auras.ContainsKey(parts[i].UUID)) { m_MetaEntityCollection.RemoveNewlyCreatedEntityAura(parts[i].UUID); } } }