diff options
author | Robert Adams | 2012-10-12 07:37:52 -0700 |
---|---|---|
committer | Robert Adams | 2012-10-12 07:41:31 -0700 |
commit | 8c40215834bc1286a6bd2902e1c8b0f2ef793fd7 (patch) | |
tree | c16ee95d54e512c578ba0f033347a242e97d5925 | |
parent | Get rid of accidental scene start left in ScenePresenceAutopilotTests (diff) | |
download | opensim-SC-8c40215834bc1286a6bd2902e1c8b0f2ef793fd7.zip opensim-SC-8c40215834bc1286a6bd2902e1c8b0f2ef793fd7.tar.gz opensim-SC-8c40215834bc1286a6bd2902e1c8b0f2ef793fd7.tar.bz2 opensim-SC-8c40215834bc1286a6bd2902e1c8b0f2ef793fd7.tar.xz |
BulletSim: only use native sphere shape if it is a sphere.
-rwxr-xr-x | OpenSim/Region/Physics/BulletSPlugin/BSShapeCollection.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BSShapeCollection.cs b/OpenSim/Region/Physics/BulletSPlugin/BSShapeCollection.cs index a0d111a..d189f1d 100755 --- a/OpenSim/Region/Physics/BulletSPlugin/BSShapeCollection.cs +++ b/OpenSim/Region/Physics/BulletSPlugin/BSShapeCollection.cs | |||
@@ -373,7 +373,8 @@ public class BSShapeCollection : IDisposable | |||
373 | && pbs.PathScaleX == 100 && pbs.PathScaleY == 100 | 373 | && pbs.PathScaleX == 100 && pbs.PathScaleY == 100 |
374 | && pbs.PathShearX == 0 && pbs.PathShearY == 0) ) ) | 374 | && pbs.PathShearX == 0 && pbs.PathShearY == 0) ) ) |
375 | { | 375 | { |
376 | if (pbs.ProfileShape == ProfileShape.HalfCircle && pbs.PathCurve == (byte)Extrusion.Curve1) | 376 | if ((pbs.ProfileShape == ProfileShape.HalfCircle && pbs.PathCurve == (byte)Extrusion.Curve1) |
377 | && pbs.Scale.X == pbs.Scale.Y && pbs.Scale.Y == pbs.Scale.Z) | ||
377 | { | 378 | { |
378 | haveShape = true; | 379 | haveShape = true; |
379 | if (forceRebuild | 380 | if (forceRebuild |