diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/InnerScene.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/InnerScene.cs | 14 |
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> |