aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2011-07-19 03:38:22 +0100
committerJustin Clark-Casey (justincc)2011-07-19 03:38:22 +0100
commit7c468cda360b9a9382986c3a029b799fd49bf898 (patch)
tree1abc41267041a08aa2d6462a0652ce4a1de94753 /OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
parentfix undo when resizing of non-root individual prims in a linkset (diff)
downloadopensim-SC_OLD-7c468cda360b9a9382986c3a029b799fd49bf898.zip
opensim-SC_OLD-7c468cda360b9a9382986c3a029b799fd49bf898.tar.gz
opensim-SC_OLD-7c468cda360b9a9382986c3a029b799fd49bf898.tar.bz2
opensim-SC_OLD-7c468cda360b9a9382986c3a029b799fd49bf898.tar.xz
Stop undo of just the root prim position in the linkset from shifting the whole linkset.
However, what happens now is that undo just doesn't do anything when the root prim is selected on its own. This requires more code than just fiddling with undo states.
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectPart.cs12
1 files changed, 6 insertions, 6 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
index 5414cf2..af836f6 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
@@ -3705,9 +3705,9 @@ namespace OpenSim.Region.Framework.Scenes
3705 3705
3706 m_undo.Push(nUndo); 3706 m_undo.Push(nUndo);
3707 3707
3708// m_log.DebugFormat( 3708 m_log.DebugFormat(
3709// "[SCENE OBJECT PART]: Stored undo state for {0} {1}, stack size now {2}", 3709 "[SCENE OBJECT PART]: Stored undo state for {0} {1}, stack size now {2}",
3710// Name, LocalId, m_undo.Count); 3710 Name, LocalId, m_undo.Count);
3711 } 3711 }
3712 } 3712 }
3713 } 3713 }
@@ -3740,9 +3740,9 @@ namespace OpenSim.Region.Framework.Scenes
3740 { 3740 {
3741 lock (m_undo) 3741 lock (m_undo)
3742 { 3742 {
3743// m_log.DebugFormat( 3743 m_log.DebugFormat(
3744// "[SCENE OBJECT PART]: Handling undo request for {0} {1}, stack size {2}", 3744 "[SCENE OBJECT PART]: Handling undo request for {0} {1}, stack size {2}",
3745// Name, LocalId, m_undo.Count); 3745 Name, LocalId, m_undo.Count);
3746 3746
3747 if (m_undo.Count > 0) 3747 if (m_undo.Count > 0)
3748 { 3748 {