add a flag in OpenSim.ini.example for enabling/disabling decoded sculpt map caching for meshing

viewer-2-initial-appearance
dahlia 2010-10-07 19:34:46 -07:00
parent 9a5d0984a5
commit 9391c3ffee
2 changed files with 10 additions and 1 deletions

View File

@ -81,7 +81,8 @@ namespace OpenSim.Region.Physics.Meshing
{ {
IConfig start_config = config.Configs["Startup"]; IConfig start_config = config.Configs["Startup"];
decodedSculptMapPath = start_config.GetString("DecodedSculptMapPath","j2kDecodeCache"); decodedSculptMapPath = start_config.GetString("DecodedSculptMapPath","j2kDecodeCache");
cacheSculptMaps = start_config.GetBoolean("CacheSculptMaps", cacheSculptMaps);
try try
{ {

View File

@ -130,6 +130,14 @@
;; Usually this is only a box. ;; Usually this is only a box.
; meshing = Meshmerizer ; meshing = Meshmerizer
; meshing = ZeroMesher ; meshing = ZeroMesher
;# {CacheSculptMaps} {Cache decoded sculpt maps?} {true false} true
;; if you use Meshmerizer and want sculpt map collisions, setting this to
;; to true will store decoded sculpt maps in a special folder in your bin
;; folder, which can reduce startup times by reducing asset requests. Some
;; versions of mono dont work well when reading the cache files, so set this
;; to false if you have compatability problems.
CacheSculptMaps = false
;; Choose one of the physics engines below ;; Choose one of the physics engines below
;; OpenDynamicsEngine is by some distance the most developed physics engine ;; OpenDynamicsEngine is by some distance the most developed physics engine