diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs index 9a7d560..c870797 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | |||
@@ -1151,7 +1151,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1151 | // | 1151 | // |
1152 | if (IsSelected) | 1152 | if (IsSelected) |
1153 | { | 1153 | { |
1154 | m_scene.SendKillObject(m_rootPart.LocalId); | 1154 | m_scene.SendKillObject(new List<uint> { m_rootPart.LocalId }); |
1155 | } | 1155 | } |
1156 | 1156 | ||
1157 | IsSelected = false; // fudge.... | 1157 | IsSelected = false; // fudge.... |
@@ -1415,11 +1415,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1415 | avatar.StandUp(); | 1415 | avatar.StandUp(); |
1416 | 1416 | ||
1417 | if (!silent) | 1417 | if (!silent) |
1418 | { | ||
1419 | part.UpdateFlag = 0; | 1418 | part.UpdateFlag = 0; |
1420 | if (part == m_rootPart) | ||
1421 | avatar.ControllingClient.SendKillObject(m_regionHandle, part.LocalId); | ||
1422 | } | ||
1423 | }); | 1419 | }); |
1424 | } | 1420 | } |
1425 | 1421 | ||