* 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.
This commit is contained in:
Teravus Ovares
2008-04-28 01:48:21 +00:00
parent 7693a7dac9
commit 1fb54b074c
9 changed files with 370 additions and 8 deletions

View File

@@ -312,6 +312,20 @@ namespace OpenSim.Region.Environment.Scenes
}
}
public void HandleUndo(IClientAPI remoteClient, LLUUID primId)
{
if (primId != LLUUID.Zero)
{
SceneObjectPart part = m_parentScene.GetSceneObjectPart(primId);
if (part != null)
part.Undo();
}
}
/// <summary>
/// Event Handling routine for Attach Object
/// </summary>