diff options
author | Snoopy Pfeffer | 2012-02-04 00:39:58 +0100 |
---|---|---|
committer | Snoopy Pfeffer | 2012-02-04 00:39:58 +0100 |
commit | bd9d7484f0862da631a1e141e82021ca2108096e (patch) | |
tree | 38317af4db4af8ca85d7d81d5a7d1aec2c1039a8 /OpenSim/Region/Framework/Scenes | |
parent | Changed save oar and save iar parameter -p|--profile to -h|--home, including ... (diff) | |
parent | Merge branch 'master' of ssh://opensimulator.org/var/git/opensim (diff) | |
download | opensim-SC_OLD-bd9d7484f0862da631a1e141e82021ca2108096e.zip opensim-SC_OLD-bd9d7484f0862da631a1e141e82021ca2108096e.tar.gz opensim-SC_OLD-bd9d7484f0862da631a1e141e82021ca2108096e.tar.bz2 opensim-SC_OLD-bd9d7484f0862da631a1e141e82021ca2108096e.tar.xz |
Merge branch 'master' of ssh://snoopy@opensimulator.org/var/git/opensim
Diffstat (limited to '')
-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 27bcc09..0e899ca 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | |||
@@ -2729,10 +2729,6 @@ namespace OpenSim.Region.Framework.Scenes | |||
2729 | if (ParentGroup == null) | 2729 | if (ParentGroup == null) |
2730 | return; | 2730 | return; |
2731 | 2731 | ||
2732 | // When running OpenSim tests, Scene (and EventManager can be null). | ||
2733 | // Need to fix tests before we can trigger this here | ||
2734 | // ParentGroup.Scene.EventManager.TriggerSceneObjectPartUpdated(this); | ||
2735 | |||
2736 | ParentGroup.QueueForUpdateCheck(); | 2732 | ParentGroup.QueueForUpdateCheck(); |
2737 | 2733 | ||
2738 | int timeNow = Util.UnixTimeSinceEpoch(); | 2734 | int timeNow = Util.UnixTimeSinceEpoch(); |
@@ -2754,6 +2750,9 @@ namespace OpenSim.Region.Framework.Scenes | |||
2754 | // m_log.DebugFormat( | 2750 | // m_log.DebugFormat( |
2755 | // "[SCENE OBJECT PART]: Scheduling full update for {0}, {1} at {2}", | 2751 | // "[SCENE OBJECT PART]: Scheduling full update for {0}, {1} at {2}", |
2756 | // UUID, Name, TimeStampFull); | 2752 | // UUID, Name, TimeStampFull); |
2753 | |||
2754 | if (ParentGroup.Scene != null) | ||
2755 | ParentGroup.Scene.EventManager.TriggerSceneObjectPartUpdated(this); | ||
2757 | } | 2756 | } |
2758 | 2757 | ||
2759 | /// <summary> | 2758 | /// <summary> |
@@ -2765,15 +2764,12 @@ namespace OpenSim.Region.Framework.Scenes | |||
2765 | if (ParentGroup == null) | 2764 | if (ParentGroup == null) |
2766 | return; | 2765 | return; |
2767 | 2766 | ||
2768 | // When running OpenSim tests, Scene (and EventManager can be null). | ||
2769 | // Need to fix tests before we can trigger this here | ||
2770 | // ParentGroup.Scene.EventManager.TriggerSceneObjectPartUpdated(this); | ||
2771 | |||
2772 | // This was pulled from SceneViewer. Attachments always receive full updates. | 2767 | // 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 | 2768 | // I could not verify if this is a requirement but this maintains existing behavior |
2774 | if (ParentGroup.IsAttachment) | 2769 | if (ParentGroup.IsAttachment) |
2775 | { | 2770 | { |
2776 | ScheduleFullUpdate(); | 2771 | ScheduleFullUpdate(); |
2772 | return; | ||
2777 | } | 2773 | } |
2778 | 2774 | ||
2779 | if (UpdateFlag == UpdateRequired.NONE) | 2775 | if (UpdateFlag == UpdateRequired.NONE) |
@@ -2788,6 +2784,9 @@ namespace OpenSim.Region.Framework.Scenes | |||
2788 | // "[SCENE OBJECT PART]: Scheduling terse update for {0}, {1} at {2}", | 2784 | // "[SCENE OBJECT PART]: Scheduling terse update for {0}, {1} at {2}", |
2789 | // UUID, Name, TimeStampTerse); | 2785 | // UUID, Name, TimeStampTerse); |
2790 | } | 2786 | } |
2787 | |||
2788 | if (ParentGroup.Scene != null) | ||
2789 | ParentGroup.Scene.EventManager.TriggerSceneObjectPartUpdated(this); | ||
2791 | } | 2790 | } |
2792 | 2791 | ||
2793 | public void ScriptSetPhysicsStatus(bool UsePhysics) | 2792 | public void ScriptSetPhysicsStatus(bool UsePhysics) |