aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2011-07-19 03:27:16 +0100
committerJustin Clark-Casey (justincc)2011-07-19 03:27:16 +0100
commitc94dc95844c5a43483a30807353aaebf658b015e (patch)
tree1edf238023cd491e546141c5e04f7b0768f6ecdb /OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
parentFix undo for resizing linksets (diff)
downloadopensim-SC_OLD-c94dc95844c5a43483a30807353aaebf658b015e.zip
opensim-SC_OLD-c94dc95844c5a43483a30807353aaebf658b015e.tar.gz
opensim-SC_OLD-c94dc95844c5a43483a30807353aaebf658b015e.tar.bz2
opensim-SC_OLD-c94dc95844c5a43483a30807353aaebf658b015e.tar.xz
fix undo when resizing of non-root individual prims in a linkset
undo resize, rotation and position still needs fixing when only editing root prim of a linkset
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs8
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);