diff options
author | Melanie | 2012-02-04 11:48:20 +0000 |
---|---|---|
committer | Melanie | 2012-02-04 11:48:20 +0000 |
commit | ce5e900721cb0447f76bcb198faf5f7c31eeaf6e (patch) | |
tree | c906a2b8858f9c590e39e2a26f47017fd7b6b9c6 /OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | |
parent | Merge branch 'master' into careminster (diff) | |
parent | Add default value to TelehubObject (diff) | |
download | opensim-SC_OLD-ce5e900721cb0447f76bcb198faf5f7c31eeaf6e.zip opensim-SC_OLD-ce5e900721cb0447f76bcb198faf5f7c31eeaf6e.tar.gz opensim-SC_OLD-ce5e900721cb0447f76bcb198faf5f7c31eeaf6e.tar.bz2 opensim-SC_OLD-ce5e900721cb0447f76bcb198faf5f7c31eeaf6e.tar.xz |
Merge branch 'master' into careminster
Conflicts:
OpenSim/Data/MySQL/Resources/RegionStore.migrations
OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectPart.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs index 0d14963..a6c234e 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | |||
@@ -2781,10 +2781,6 @@ namespace OpenSim.Region.Framework.Scenes | |||
2781 | if (ParentGroup == null) | 2781 | if (ParentGroup == null) |
2782 | return; | 2782 | return; |
2783 | 2783 | ||
2784 | // When running OpenSim tests, Scene (and EventManager can be null). | ||
2785 | // Need to fix tests before we can trigger this here | ||
2786 | // ParentGroup.Scene.EventManager.TriggerSceneObjectPartUpdated(this); | ||
2787 | |||
2788 | ParentGroup.QueueForUpdateCheck(); | 2784 | ParentGroup.QueueForUpdateCheck(); |
2789 | 2785 | ||
2790 | int timeNow = Util.UnixTimeSinceEpoch(); | 2786 | int timeNow = Util.UnixTimeSinceEpoch(); |
@@ -2806,6 +2802,9 @@ namespace OpenSim.Region.Framework.Scenes | |||
2806 | // m_log.DebugFormat( | 2802 | // m_log.DebugFormat( |
2807 | // "[SCENE OBJECT PART]: Scheduling full update for {0}, {1} at {2}", | 2803 | // "[SCENE OBJECT PART]: Scheduling full update for {0}, {1} at {2}", |
2808 | // UUID, Name, TimeStampFull); | 2804 | // UUID, Name, TimeStampFull); |
2805 | |||
2806 | if (ParentGroup.Scene != null) | ||
2807 | ParentGroup.Scene.EventManager.TriggerSceneObjectPartUpdated(this); | ||
2809 | } | 2808 | } |
2810 | 2809 | ||
2811 | /// <summary> | 2810 | /// <summary> |
@@ -2817,15 +2816,12 @@ namespace OpenSim.Region.Framework.Scenes | |||
2817 | if (ParentGroup == null) | 2816 | if (ParentGroup == null) |
2818 | return; | 2817 | return; |
2819 | 2818 | ||
2820 | // When running OpenSim tests, Scene (and EventManager can be null). | ||
2821 | // Need to fix tests before we can trigger this here | ||
2822 | // ParentGroup.Scene.EventManager.TriggerSceneObjectPartUpdated(this); | ||
2823 | |||
2824 | // This was pulled from SceneViewer. Attachments always receive full updates. | 2819 | // This was pulled from SceneViewer. Attachments always receive full updates. |
2825 | // I could not verify if this is a requirement but this maintains existing behavior | 2820 | // I could not verify if this is a requirement but this maintains existing behavior |
2826 | if (ParentGroup.IsAttachment) | 2821 | if (ParentGroup.IsAttachment) |
2827 | { | 2822 | { |
2828 | ScheduleFullUpdate(); | 2823 | ScheduleFullUpdate(); |
2824 | return; | ||
2829 | } | 2825 | } |
2830 | 2826 | ||
2831 | if (UpdateFlag == UpdateRequired.NONE) | 2827 | if (UpdateFlag == UpdateRequired.NONE) |
@@ -2840,6 +2836,9 @@ namespace OpenSim.Region.Framework.Scenes | |||
2840 | // "[SCENE OBJECT PART]: Scheduling terse update for {0}, {1} at {2}", | 2836 | // "[SCENE OBJECT PART]: Scheduling terse update for {0}, {1} at {2}", |
2841 | // UUID, Name, TimeStampTerse); | 2837 | // UUID, Name, TimeStampTerse); |
2842 | } | 2838 | } |
2839 | |||
2840 | if (ParentGroup.Scene != null) | ||
2841 | ParentGroup.Scene.EventManager.TriggerSceneObjectPartUpdated(this); | ||
2843 | } | 2842 | } |
2844 | 2843 | ||
2845 | public void ScriptSetPhysicsStatus(bool UsePhysics) | 2844 | public void ScriptSetPhysicsStatus(bool UsePhysics) |