aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/InnerScene.cs
diff options
context:
space:
mode:
authorTeravus Ovares2008-04-28 01:48:21 +0000
committerTeravus Ovares2008-04-28 01:48:21 +0000
commit1fb54b074c243bab1964b4a568d672e87d18655f (patch)
tree1a9a113d09b94a10e5113e1b2e613039029d52a7 /OpenSim/Region/Environment/Scenes/InnerScene.cs
parent* Added String(FileExtension) property to ITerrainLoader to allow us to deter... (diff)
downloadopensim-SC_OLD-1fb54b074c243bab1964b4a568d672e87d18655f.zip
opensim-SC_OLD-1fb54b074c243bab1964b4a568d672e87d18655f.tar.gz
opensim-SC_OLD-1fb54b074c243bab1964b4a568d672e87d18655f.tar.bz2
opensim-SC_OLD-1fb54b074c243bab1964b4a568d672e87d18655f.tar.xz
* Added basic 3-5 level undo on prim position/rotation/scale.
* In the future this should be a config option... and, hopefully this tides the builders over for a little while.
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/InnerScene.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/InnerScene.cs14
1 files changed, 14 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/InnerScene.cs b/OpenSim/Region/Environment/Scenes/InnerScene.cs
index d00f601..8a48f6e 100644
--- a/OpenSim/Region/Environment/Scenes/InnerScene.cs
+++ b/OpenSim/Region/Environment/Scenes/InnerScene.cs
@@ -312,6 +312,20 @@ namespace OpenSim.Region.Environment.Scenes
312 } 312 }
313 313
314 } 314 }
315
316 public void HandleUndo(IClientAPI remoteClient, LLUUID primId)
317 {
318 if (primId != LLUUID.Zero)
319 {
320 SceneObjectPart part = m_parentScene.GetSceneObjectPart(primId);
321 if (part != null)
322 part.Undo();
323
324 }
325
326
327 }
328
315 /// <summary> 329 /// <summary>
316 /// Event Handling routine for Attach Object 330 /// Event Handling routine for Attach Object
317 /// </summary> 331 /// </summary>