mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 06:06:06 +08:00
Group collada meshies settings under [Mesh] in OpensimDefaults.ini
This commit is contained in:
@@ -84,10 +84,11 @@ namespace OpenSim.Region.Physics.Meshing
|
||||
public Meshmerizer(IConfigSource config)
|
||||
{
|
||||
IConfig start_config = config.Configs["Startup"];
|
||||
IConfig mesh_config = config.Configs["Mesh"];
|
||||
|
||||
decodedSculptMapPath = start_config.GetString("DecodedSculptMapPath","j2kDecodeCache");
|
||||
cacheSculptMaps = start_config.GetBoolean("CacheSculptMaps", cacheSculptMaps);
|
||||
useMeshiesPhysicsMesh = start_config.GetBoolean("UseMeshiesPhysicsMesh", useMeshiesPhysicsMesh);
|
||||
useMeshiesPhysicsMesh = mesh_config.GetBoolean("UseMeshiesPhysicsMesh", useMeshiesPhysicsMesh);
|
||||
|
||||
try
|
||||
{
|
||||
|
||||
@@ -149,12 +149,6 @@
|
||||
; to false if you have compatibility problems.
|
||||
;CacheSculptMaps = true
|
||||
|
||||
; if you use Meshmerizer and want collisions for meshies, setting this to true
|
||||
; will cause OpenSim to attempt to decode meshies assets, extract the physics
|
||||
; mesh, and use it for collisions. This is currently experimental code and enabling
|
||||
; it may cause unexpected physics problems.
|
||||
;UseMeshiesPhysicsMesh = false
|
||||
|
||||
; Choose one of the physics engines below
|
||||
; OpenDynamicsEngine is by some distance the most developed physics engine
|
||||
; basicphysics effectively does not model physics at all, making all objects phantom
|
||||
@@ -461,6 +455,12 @@
|
||||
; default is true
|
||||
; ColladaMesh = true
|
||||
|
||||
; if you use Meshmerizer and want collisions for meshies, setting this to true
|
||||
; will cause OpenSim to attempt to decode meshies assets, extract the physics
|
||||
; mesh, and use it for collisions. This is currently experimental code and enabling
|
||||
; it may cause unexpected physics problems.
|
||||
;UseMeshiesPhysicsMesh = false
|
||||
|
||||
|
||||
[ODEPhysicsSettings]
|
||||
;##
|
||||
|
||||
Reference in New Issue
Block a user