diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs index bcc9b37..7359011 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | |||
@@ -1199,6 +1199,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1199 | 1199 | ||
1200 | if (!silent) | 1200 | if (!silent) |
1201 | { | 1201 | { |
1202 | part.UpdateFlag = 0; | ||
1202 | if (part == m_rootPart) | 1203 | if (part == m_rootPart) |
1203 | avatars[i].ControllingClient.SendKillObject(m_regionHandle, part.LocalId); | 1204 | avatars[i].ControllingClient.SendKillObject(m_regionHandle, part.LocalId); |
1204 | } | 1205 | } |
@@ -3341,17 +3342,6 @@ namespace OpenSim.Region.Framework.Scenes | |||
3341 | } | 3342 | } |
3342 | #endregion | 3343 | #endregion |
3343 | 3344 | ||
3344 | public bool CanBeDeleted() | ||
3345 | { | ||
3346 | foreach (SceneObjectPart part in Children.Values) | ||
3347 | { | ||
3348 | if (!part.CanBeDeleted()) | ||
3349 | return false; | ||
3350 | } | ||
3351 | |||
3352 | return true; | ||
3353 | } | ||
3354 | |||
3355 | public double GetUpdatePriority(IClientAPI client) | 3345 | public double GetUpdatePriority(IClientAPI client) |
3356 | { | 3346 | { |
3357 | switch (Scene.UpdatePrioritizationScheme) | 3347 | switch (Scene.UpdatePrioritizationScheme) |