diff options
author | Justin Clark-Casey (justincc) | 2012-09-27 00:12:34 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-09-27 00:12:34 +0100 |
commit | 2bf42f30af5030890b8e3ff5bb29074a1f0e9085 (patch) | |
tree | 5aeb7aeb87231e97e8cec78aa1dac0fbf7b4fc72 /OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | |
parent | Don't store undo states if a scene object is manipulated when it is not in a ... (diff) | |
download | opensim-SC_OLD-2bf42f30af5030890b8e3ff5bb29074a1f0e9085.zip opensim-SC_OLD-2bf42f30af5030890b8e3ff5bb29074a1f0e9085.tar.gz opensim-SC_OLD-2bf42f30af5030890b8e3ff5bb29074a1f0e9085.tar.bz2 opensim-SC_OLD-2bf42f30af5030890b8e3ff5bb29074a1f0e9085.tar.xz |
Add MaxPrimsUndo config setting to [Startup] section of OpenSim.ini.
This controls how many undo steps the simulator will store for each prim.
Default is now 20 rather than 5 as it briefly was.
The default number could be increased through this is a memory tradeoff which will scale with the number of prims in the sim and level of activity.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs index 85a37e9..45bbbda 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | |||
@@ -1119,14 +1119,6 @@ namespace OpenSim.Region.Framework.Scenes | |||
1119 | parts[i].UUID = UUID.Random(); | 1119 | parts[i].UUID = UUID.Random(); |
1120 | } | 1120 | } |
1121 | 1121 | ||
1122 | // helper provided for parts. | ||
1123 | public int GetSceneMaxUndo() | ||
1124 | { | ||
1125 | if (m_scene != null) | ||
1126 | return m_scene.MaxUndoCount; | ||
1127 | return 5; | ||
1128 | } | ||
1129 | |||
1130 | // justincc: I don't believe this hack is needed any longer, especially since the physics | 1122 | // justincc: I don't believe this hack is needed any longer, especially since the physics |
1131 | // parts of set AbsolutePosition were already commented out. By changing HasGroupChanged to false | 1123 | // parts of set AbsolutePosition were already commented out. By changing HasGroupChanged to false |
1132 | // this method was preventing proper reload of scene objects. | 1124 | // this method was preventing proper reload of scene objects. |