From 426f2130fcc865e95d76d0a7de9a1f4d4d104c51 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Fri, 26 May 2017 01:50:54 +0100 Subject: [PATCH] change opensim-ode.sh to use the ode engine defined on opensim.ini --- bin/OpenSim.ini.example | 4 ++++ 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 021e44412e..5d969ce18c 100644 --- a/bin/OpenSim.ini.example +++ b/bin/OpenSim.ini.example @@ -259,6 +259,10 @@ ;; alternative OpenDynamicsEngine engine. ubODEMeshmerizer meshing above MUST be selected also ; physics = ubODE + ; ubODE and OpenDynamicsEngine does allocate a lot of memory on stack. On linux you may need to increase its limit + ; script opensim-ode-sh starts opensim setting that limit. You may need to increase it even more on large regions + ; edit the line ulimit -s 262144, and change this last value + ;# {DefaultScriptEngine} {} {Default script engine} {XEngine} XEngine ;; Default script engine to use. Currently, we only have XEngine ; DefaultScriptEngine = "XEngine" diff --git a/bin/opensim-ode.sh b/bin/opensim-ode.sh index b901425fc1..7c6157106b 100755 --- a/bin/opensim-ode.sh +++ b/bin/opensim-ode.sh @@ -1,4 +1,4 @@ #!/bin/sh -echo "Starting OpenSimulator with ODE. If you get an error saying limit: Operation not permitted. Then you will need to chmod 0600 /etc/limits" +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" ulimit -s 262144 -mono OpenSim.exe -physics=OpenDynamicsEngine +mono OpenSim.exe