From 13399ff4393b0fbf6e2caf79542f62e9b4ba4281 Mon Sep 17 00:00:00 2001 From: Dahlia Trimble Date: Sat, 12 Jul 2008 01:58:20 +0000 Subject: 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 --- OpenSim/Region/Physics/BulletXPlugin/BulletXPlugin.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenSim/Region/Physics/BulletXPlugin/BulletXPlugin.cs') 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 } else { - IMesh mesh = mesher.CreateMesh(primName, pbs, size, 32f); + IMesh mesh = mesher.CreateMesh(primName, pbs, size, 32f, isPhysical); result = AddPrim(primName, position, size, rotation, mesh, pbs, isPhysical); } break; -- cgit v1.1