mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 09:16:28 +08:00
add a flag in OpenSim.ini.example for enabling/disabling decoded sculpt map caching for meshing
This commit is contained in:
@@ -81,7 +81,8 @@ namespace OpenSim.Region.Physics.Meshing
|
||||
{
|
||||
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
|
||||
{
|
||||
|
||||
@@ -130,6 +130,14 @@
|
||||
;; Usually this is only a box.
|
||||
; meshing = Meshmerizer
|
||||
; 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
|
||||
;; OpenDynamicsEngine is by some distance the most developed physics engine
|
||||
|
||||
Reference in New Issue
Block a user