diff options
author | Melanie Thielker | 2008-11-10 05:21:51 +0000 |
---|---|---|
committer | Melanie Thielker | 2008-11-10 05:21:51 +0000 |
commit | fc6f3edec60c391bbd986ee021bff0e5fa4991c0 (patch) | |
tree | df3c3704c39be31cd314918d8fa52dc344978f11 /OpenSim/Region/Environment/Scenes/Scene.cs | |
parent | Thank you, idb, for a patch that fixes avatar height calculation (diff) | |
download | opensim-SC-fc6f3edec60c391bbd986ee021bff0e5fa4991c0.zip opensim-SC-fc6f3edec60c391bbd986ee021bff0e5fa4991c0.tar.gz opensim-SC-fc6f3edec60c391bbd986ee021bff0e5fa4991c0.tar.bz2 opensim-SC-fc6f3edec60c391bbd986ee021bff0e5fa4991c0.tar.xz |
Stop attachments from causing an update to be sent on every frame in which
an avatar moves.
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/Scene.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs index 62e6691..6634028 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.cs | |||
@@ -2042,6 +2042,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
2042 | public bool CrossPrimGroupIntoNewRegion(ulong newRegionHandle, SceneObjectGroup grp, bool silent) | 2042 | public bool CrossPrimGroupIntoNewRegion(ulong newRegionHandle, SceneObjectGroup grp, bool silent) |
2043 | { | 2043 | { |
2044 | bool successYN = false; | 2044 | bool successYN = false; |
2045 | grp.RootPart.UpdateFlag = 0; | ||
2045 | int primcrossingXMLmethod = 0; | 2046 | int primcrossingXMLmethod = 0; |
2046 | 2047 | ||
2047 | if (newRegionHandle != 0) | 2048 | if (newRegionHandle != 0) |
@@ -2139,7 +2140,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
2139 | 2140 | ||
2140 | grp.SetFromAssetID(grp.RootPart.LastOwnerID); | 2141 | grp.SetFromAssetID(grp.RootPart.LastOwnerID); |
2141 | m_log.DebugFormat("[ATTACHMENT]: Attach to avatar {0}", sp.UUID.ToString()); | 2142 | m_log.DebugFormat("[ATTACHMENT]: Attach to avatar {0}", sp.UUID.ToString()); |
2142 | AttachObject(sp.ControllingClient, grp.LocalId, (uint)0, grp.GroupRotation, grp.AbsolutePosition); | 2143 | AttachObject(sp.ControllingClient, grp.LocalId, (uint)0, grp.GroupRotation, grp.AbsolutePosition, false); |
2143 | } | 2144 | } |
2144 | else | 2145 | else |
2145 | { | 2146 | { |