aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/Scene.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/Scene.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/Scene.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/Scene.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs
index a517e69..de4270f 100644
--- a/OpenSim/Region/Environment/Scenes/Scene.cs
+++ b/OpenSim/Region/Environment/Scenes/Scene.cs
@@ -78,6 +78,7 @@ namespace OpenSim.Region.Environment.Scenes
78 private readonly Mutex updateLock; 78 private readonly Mutex updateLock;
79 public bool m_physicalPrim; 79 public bool m_physicalPrim;
80 public bool m_seeIntoRegionFromNeighbor; 80 public bool m_seeIntoRegionFromNeighbor;
81 public int MaxUndoCount = 5;
81 private int m_RestartTimerCounter; 82 private int m_RestartTimerCounter;
82 private readonly Timer m_restartTimer = new Timer(15000); // Wait before firing 83 private readonly Timer m_restartTimer = new Timer(15000); // Wait before firing
83 private int m_incrementsof15seconds = 0; 84 private int m_incrementsof15seconds = 0;
@@ -1628,6 +1629,7 @@ namespace OpenSim.Region.Environment.Scenes
1628 client.OnTeleportHomeRequest += TeleportClientHome; 1629 client.OnTeleportHomeRequest += TeleportClientHome;
1629 1630
1630 client.OnSetStartLocationRequest += SetHomeRezPoint; 1631 client.OnSetStartLocationRequest += SetHomeRezPoint;
1632 client.OnUndo += m_innerScene.HandleUndo;
1631 1633
1632 EventManager.TriggerOnNewClient(client); 1634 EventManager.TriggerOnNewClient(client);
1633 } 1635 }