diff options
author | Snoopy Pfeffer | 2011-09-25 00:51:43 +0200 |
---|---|---|
committer | Snoopy Pfeffer | 2011-09-25 00:51:43 +0200 |
commit | 2b2580e3a12d5c493f9a77bf9435ca32a0a0355c (patch) | |
tree | 4831c47e9acf20a0be9d40db9bf48e86135c1c8b /OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | |
parent | Remove the unimplented "clear assets" command. (diff) | |
download | opensim-SC_OLD-2b2580e3a12d5c493f9a77bf9435ca32a0a0355c.zip opensim-SC_OLD-2b2580e3a12d5c493f9a77bf9435ca32a0a0355c.tar.gz opensim-SC_OLD-2b2580e3a12d5c493f9a77bf9435ca32a0a0355c.tar.bz2 opensim-SC_OLD-2b2580e3a12d5c493f9a77bf9435ca32a0a0355c.tar.xz |
Fix for rezzing and derezzing HUDs (see Mantis #5406). From now on updates are only sent to affected clients.
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs index 980b01f..234eb7d 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | |||
@@ -1174,7 +1174,11 @@ namespace OpenSim.Region.Framework.Scenes | |||
1174 | { | 1174 | { |
1175 | part.UpdateFlag = 0; | 1175 | part.UpdateFlag = 0; |
1176 | if (part == m_rootPart) | 1176 | if (part == m_rootPart) |
1177 | avatar.ControllingClient.SendKillObject(m_regionHandle, part.LocalId); | 1177 | { |
1178 | if (!IsAttachment || (AttachedAvatar == avatar.ControllingClient.AgentId) || | ||
1179 | (AttachmentPoint < 31) || (AttachmentPoint > 38)) | ||
1180 | avatar.ControllingClient.SendKillObject(m_regionHandle, part.LocalId); | ||
1181 | } | ||
1178 | } | 1182 | } |
1179 | }); | 1183 | }); |
1180 | } | 1184 | } |