diff options
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs index 9fb11d3..27bcc09 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | |||
@@ -2729,9 +2729,9 @@ namespace OpenSim.Region.Framework.Scenes | |||
2729 | if (ParentGroup == null) | 2729 | if (ParentGroup == null) |
2730 | return; | 2730 | return; |
2731 | 2731 | ||
2732 | // When running OpenSim tests, EventManager can be null. Maybe tests should create an EventManager. | 2732 | // When running OpenSim tests, Scene (and EventManager can be null). |
2733 | if(ParentGroup.Scene.EventManager != null) | 2733 | // Need to fix tests before we can trigger this here |
2734 | ParentGroup.Scene.EventManager.TriggerSceneObjectPartUpdated(this); | 2734 | // ParentGroup.Scene.EventManager.TriggerSceneObjectPartUpdated(this); |
2735 | 2735 | ||
2736 | ParentGroup.QueueForUpdateCheck(); | 2736 | ParentGroup.QueueForUpdateCheck(); |
2737 | 2737 | ||
@@ -2765,9 +2765,9 @@ namespace OpenSim.Region.Framework.Scenes | |||
2765 | if (ParentGroup == null) | 2765 | if (ParentGroup == null) |
2766 | return; | 2766 | return; |
2767 | 2767 | ||
2768 | // When running OpenSim tests, EventManager can be null. Maybe tests should create an EventManager. | 2768 | // When running OpenSim tests, Scene (and EventManager can be null). |
2769 | if (ParentGroup.Scene.EventManager != null) | 2769 | // Need to fix tests before we can trigger this here |
2770 | ParentGroup.Scene.EventManager.TriggerSceneObjectPartUpdated(this); | 2770 | // ParentGroup.Scene.EventManager.TriggerSceneObjectPartUpdated(this); |
2771 | 2771 | ||
2772 | // This was pulled from SceneViewer. Attachments always receive full updates. | 2772 | // This was pulled from SceneViewer. Attachments always receive full updates. |
2773 | // 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 |