diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs index 3bbf76c..3adeef1 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | |||
@@ -2815,15 +2815,17 @@ namespace OpenSim.Region.Framework.Scenes | |||
2815 | { | 2815 | { |
2816 | SceneObjectPart part = GetChildPart(localID); | 2816 | SceneObjectPart part = GetChildPart(localID); |
2817 | 2817 | ||
2818 | SceneObjectPart[] parts = m_parts.GetArray(); | 2818 | // SceneObjectPart[] parts = m_parts.GetArray(); |
2819 | for (int i = 0; i < parts.Length; i++) | 2819 | // for (int i = 0; i < parts.Length; i++) |
2820 | parts[i].StoreUndoState(); | 2820 | // parts[i].StoreUndoState(); |
2821 | 2821 | ||
2822 | if (part != null) | 2822 | if (part != null) |
2823 | { | 2823 | { |
2824 | // m_log.DebugFormat( | 2824 | // m_log.DebugFormat( |
2825 | // "[SCENE OBJECT GROUP]: Updating single position of {0} {1} to {2}", part.Name, part.LocalId, pos); | 2825 | // "[SCENE OBJECT GROUP]: Updating single position of {0} {1} to {2}", part.Name, part.LocalId, pos); |
2826 | 2826 | ||
2827 | part.StoreUndoState(false); | ||
2828 | |||
2827 | if (part.UUID == m_rootPart.UUID) | 2829 | if (part.UUID == m_rootPart.UUID) |
2828 | { | 2830 | { |
2829 | UpdateRootPosition(pos); | 2831 | UpdateRootPosition(pos); |