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 /bin | |
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 'bin')
-rw-r--r-- | bin/OpenSim.ini.example | 4 | ||||
-rw-r--r-- | bin/OpenSimDefaults.ini | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/bin/OpenSim.ini.example b/bin/OpenSim.ini.example index 6dbb611..4f0bb07 100644 --- a/bin/OpenSim.ini.example +++ b/bin/OpenSim.ini.example | |||
@@ -97,6 +97,10 @@ | |||
97 | ;; from the selected region_info_source. | 97 | ;; from the selected region_info_source. |
98 | ; allow_regionless = false | 98 | ; allow_regionless = false |
99 | 99 | ||
100 | ;# {MaxPrimUndos} {} {Maximum number of undos avialable for position, rotation and scale changes of each prim} {} 20 | ||
101 | ;; Increasing the number of undos available number will increase memory usage. | ||
102 | MaxPrimUndos = 20 | ||
103 | |||
100 | ;# {NonPhysicalPrimMin} {} {Minimum size of nonphysical prims?} {} 0.001 | 104 | ;# {NonPhysicalPrimMin} {} {Minimum size of nonphysical prims?} {} 0.001 |
101 | ;; Minimum size for non-physical prims. Affects resizing of existing | 105 | ;; Minimum size for non-physical prims. Affects resizing of existing |
102 | ;; prims. This can be overriden in the region config file (as | 106 | ;; prims. This can be overriden in the region config file (as |
diff --git a/bin/OpenSimDefaults.ini b/bin/OpenSimDefaults.ini index 744187b..046aa67 100644 --- a/bin/OpenSimDefaults.ini +++ b/bin/OpenSimDefaults.ini | |||
@@ -85,6 +85,10 @@ | |||
85 | ;; from the selected region_info_source. | 85 | ;; from the selected region_info_source. |
86 | allow_regionless = false | 86 | allow_regionless = false |
87 | 87 | ||
88 | ; Maximum number of position, rotation and scale changes for each prim that the simulator will store for later undos | ||
89 | ; Increasing this number will increase memory usage. | ||
90 | MaxPrimUndos = 20 | ||
91 | |||
88 | ; Maximum size of non physical prims. Affects resizing of existing prims. This can be overriden in the region config file (as NonPhysicalPrimMax!). | 92 | ; Maximum size of non physical prims. Affects resizing of existing prims. This can be overriden in the region config file (as NonPhysicalPrimMax!). |
89 | NonPhysicalPrimMax = 256 | 93 | NonPhysicalPrimMax = 256 |
90 | 94 | ||