diff options
author | UbitUmarov | 2017-05-26 01:50:54 +0100 |
---|---|---|
committer | UbitUmarov | 2017-05-26 01:50:54 +0100 |
commit | 426f2130fcc865e95d76d0a7de9a1f4d4d104c51 (patch) | |
tree | 54db11d109503a23200520a02495de586e4bfca1 | |
parent | avoid some wrong watchdog timeouts (diff) | |
download | opensim-SC_OLD-426f2130fcc865e95d76d0a7de9a1f4d4d104c51.zip opensim-SC_OLD-426f2130fcc865e95d76d0a7de9a1f4d4d104c51.tar.gz opensim-SC_OLD-426f2130fcc865e95d76d0a7de9a1f4d4d104c51.tar.bz2 opensim-SC_OLD-426f2130fcc865e95d76d0a7de9a1f4d4d104c51.tar.xz |
change opensim-ode.sh to use the ode engine defined on opensim.ini
Diffstat (limited to '')
-rw-r--r-- | bin/OpenSim.ini.example | 4 | ||||
-rwxr-xr-x | bin/opensim-ode.sh | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/bin/OpenSim.ini.example b/bin/OpenSim.ini.example index 021e444..5d969ce 100644 --- a/bin/OpenSim.ini.example +++ b/bin/OpenSim.ini.example | |||
@@ -259,6 +259,10 @@ | |||
259 | ;; alternative OpenDynamicsEngine engine. ubODEMeshmerizer meshing above MUST be selected also | 259 | ;; alternative OpenDynamicsEngine engine. ubODEMeshmerizer meshing above MUST be selected also |
260 | ; physics = ubODE | 260 | ; physics = ubODE |
261 | 261 | ||
262 | ; ubODE and OpenDynamicsEngine does allocate a lot of memory on stack. On linux you may need to increase its limit | ||
263 | ; script opensim-ode-sh starts opensim setting that limit. You may need to increase it even more on large regions | ||
264 | ; edit the line ulimit -s 262144, and change this last value | ||
265 | |||
262 | ;# {DefaultScriptEngine} {} {Default script engine} {XEngine} XEngine | 266 | ;# {DefaultScriptEngine} {} {Default script engine} {XEngine} XEngine |
263 | ;; Default script engine to use. Currently, we only have XEngine | 267 | ;; Default script engine to use. Currently, we only have XEngine |
264 | ; DefaultScriptEngine = "XEngine" | 268 | ; DefaultScriptEngine = "XEngine" |
diff --git a/bin/opensim-ode.sh b/bin/opensim-ode.sh index b901425..7c61571 100755 --- a/bin/opensim-ode.sh +++ b/bin/opensim-ode.sh | |||
@@ -1,4 +1,4 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | echo "Starting OpenSimulator with ODE. If you get an error saying limit: Operation not permitted. Then you will need to chmod 0600 /etc/limits" | 2 | echo "Starting OpenSimulator with ODE or ubOde. If you get an error saying limit: Operation not permitted. Then you will need to chmod 0600 /etc/limits" |
3 | ulimit -s 262144 | 3 | ulimit -s 262144 |
4 | mono OpenSim.exe -physics=OpenDynamicsEngine | 4 | mono OpenSim.exe |