diff options
author | Dan Lake | 2012-01-19 03:06:35 -0800 |
---|---|---|
committer | Dan Lake | 2012-01-19 03:06:35 -0800 |
commit | e41f23dead25356eb3e4bd37a5ef84c73e07336f (patch) | |
tree | f8d88cb4307ea6ac6713c8a6bf6c919fffbb8ae8 /OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | |
parent | Cleaned up Color and Text parameters in SOP and made LocalFlags public for mo... (diff) | |
download | opensim-SC_OLD-e41f23dead25356eb3e4bd37a5ef84c73e07336f.zip opensim-SC_OLD-e41f23dead25356eb3e4bd37a5ef84c73e07336f.tar.gz opensim-SC_OLD-e41f23dead25356eb3e4bd37a5ef84c73e07336f.tar.bz2 opensim-SC_OLD-e41f23dead25356eb3e4bd37a5ef84c73e07336f.tar.xz |
Trigger event when prims are scheduled for an update. This gives modules early access to changed parameters.
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectPart.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs index a70c8fa..8e59abf 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | |||
@@ -2733,6 +2733,8 @@ namespace OpenSim.Region.Framework.Scenes | |||
2733 | if (ParentGroup == null) | 2733 | if (ParentGroup == null) |
2734 | return; | 2734 | return; |
2735 | 2735 | ||
2736 | ParentGroup.Scene.EventManager.TriggerSceneObjectPartUpdated(this); | ||
2737 | |||
2736 | ParentGroup.QueueForUpdateCheck(); | 2738 | ParentGroup.QueueForUpdateCheck(); |
2737 | 2739 | ||
2738 | int timeNow = Util.UnixTimeSinceEpoch(); | 2740 | int timeNow = Util.UnixTimeSinceEpoch(); |
@@ -2765,6 +2767,8 @@ namespace OpenSim.Region.Framework.Scenes | |||
2765 | if (ParentGroup == null) | 2767 | if (ParentGroup == null) |
2766 | return; | 2768 | return; |
2767 | 2769 | ||
2770 | ParentGroup.Scene.EventManager.TriggerSceneObjectPartUpdated(this); | ||
2771 | |||
2768 | // This was pulled from SceneViewer. Attachments always receive full updates. | 2772 | // This was pulled from SceneViewer. Attachments always receive full updates. |
2769 | // I could not verify if this is a requirement but this maintains existing behavior | 2773 | // I could not verify if this is a requirement but this maintains existing behavior |
2770 | if (ParentGroup.IsAttachment) | 2774 | if (ParentGroup.IsAttachment) |