Trigger event when prims are scheduled for an update. This gives modules early access to changed parameters.

This commit is contained in:
Dan Lake
2012-01-19 03:06:35 -08:00
parent 5ced49aaa8
commit e41f23dead
2 changed files with 28 additions and 0 deletions

View File

@@ -2733,6 +2733,8 @@ namespace OpenSim.Region.Framework.Scenes
if (ParentGroup == null)
return;
ParentGroup.Scene.EventManager.TriggerSceneObjectPartUpdated(this);
ParentGroup.QueueForUpdateCheck();
int timeNow = Util.UnixTimeSinceEpoch();
@@ -2765,6 +2767,8 @@ namespace OpenSim.Region.Framework.Scenes
if (ParentGroup == null)
return;
ParentGroup.Scene.EventManager.TriggerSceneObjectPartUpdated(this);
// This was pulled from SceneViewer. Attachments always receive full updates.
// I could not verify if this is a requirement but this maintains existing behavior
if (ParentGroup.IsAttachment)