diff options
author | Dahlia Trimble | 2008-07-12 01:58:20 +0000 |
---|---|---|
committer | Dahlia Trimble | 2008-07-12 01:58:20 +0000 |
commit | 13399ff4393b0fbf6e2caf79542f62e9b4ba4281 (patch) | |
tree | 546a8a6d08c1d9acdff47e06a1f9c9be364df3f7 /OpenSim/Region/Physics/BulletXPlugin | |
parent | Patch #9142 (No mantis) (diff) | |
download | opensim-SC_OLD-13399ff4393b0fbf6e2caf79542f62e9b4ba4281.zip opensim-SC_OLD-13399ff4393b0fbf6e2caf79542f62e9b4ba4281.tar.gz opensim-SC_OLD-13399ff4393b0fbf6e2caf79542f62e9b4ba4281.tar.bz2 opensim-SC_OLD-13399ff4393b0fbf6e2caf79542f62e9b4ba4281.tar.xz |
Passes prim physical status to mesher from physics plugins
Small prims now get a full mesh if they are physical
Fixed a logic bug that was preventing many prim meshes from having excess memory cleaned up
Switched to more conservative method of vertex and triangle list trimming to prevent possible crash
Diffstat (limited to 'OpenSim/Region/Physics/BulletXPlugin')
-rw-r--r-- | OpenSim/Region/Physics/BulletXPlugin/BulletXPlugin.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Physics/BulletXPlugin/BulletXPlugin.cs b/OpenSim/Region/Physics/BulletXPlugin/BulletXPlugin.cs index 144ad53..5ef196f 100644 --- a/OpenSim/Region/Physics/BulletXPlugin/BulletXPlugin.cs +++ b/OpenSim/Region/Physics/BulletXPlugin/BulletXPlugin.cs | |||
@@ -621,7 +621,7 @@ namespace OpenSim.Region.Physics.BulletXPlugin | |||
621 | } | 621 | } |
622 | else | 622 | else |
623 | { | 623 | { |
624 | IMesh mesh = mesher.CreateMesh(primName, pbs, size, 32f); | 624 | IMesh mesh = mesher.CreateMesh(primName, pbs, size, 32f, isPhysical); |
625 | result = AddPrim(primName, position, size, rotation, mesh, pbs, isPhysical); | 625 | result = AddPrim(primName, position, size, rotation, mesh, pbs, isPhysical); |
626 | } | 626 | } |
627 | break; | 627 | break; |