BulletSim: fix problem where mesh shapes were physically just their bounding box and not the complete mesh. Fill mesh physical objects are back.
parent
48cfc6d089
commit
2eba80a8cd
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue