BulletSim: fix problem where mesh shapes were physically just their bounding box and not the complete mesh. Fill mesh physical objects are back.

user_profiles
Robert Adams 2013-01-04 17:05:56 -08:00
parent 48cfc6d089
commit 2eba80a8cd
1 changed files with 1 additions and 0 deletions

View File

@ -453,6 +453,7 @@ public sealed class BSShapeCollection : IDisposable
// If the prim attributes are simple, this could be a simple Bullet native shape // If the prim attributes are simple, this could be a simple Bullet native shape
if (!haveShape if (!haveShape
&& pbs != null && pbs != null
&& !pbs.SculptEntry
&& nativeShapePossible && nativeShapePossible
&& ((pbs.SculptEntry && !BSParam.ShouldMeshSculptedPrim) && ((pbs.SculptEntry && !BSParam.ShouldMeshSculptedPrim)
|| (pbs.ProfileBegin == 0 && pbs.ProfileEnd == 0 || (pbs.ProfileBegin == 0 && pbs.ProfileEnd == 0