diff options
author | Melanie | 2012-08-09 02:37:49 +0100 |
---|---|---|
committer | Melanie | 2012-08-09 02:37:49 +0100 |
commit | 6ed3761147ea6f8c4aaa561e291dcce7cb038df1 (patch) | |
tree | 74fc55a790a575c4afeae7e463816e72cae925f3 /OpenSim/Region/Physics/BulletSPlugin/BSPrim.cs | |
parent | Merge branch 'master' into careminster (diff) | |
parent | BulletSim: Added avatar capsule scaling for size of avatar. (diff) | |
download | opensim-SC-6ed3761147ea6f8c4aaa561e291dcce7cb038df1.zip opensim-SC-6ed3761147ea6f8c4aaa561e291dcce7cb038df1.tar.gz opensim-SC-6ed3761147ea6f8c4aaa561e291dcce7cb038df1.tar.bz2 opensim-SC-6ed3761147ea6f8c4aaa561e291dcce7cb038df1.tar.xz |
Merge branch 'master' into careminster
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Physics/BulletSPlugin/BSPrim.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BSPrim.cs b/OpenSim/Region/Physics/BulletSPlugin/BSPrim.cs index 8e6685b..11868bc 100644 --- a/OpenSim/Region/Physics/BulletSPlugin/BSPrim.cs +++ b/OpenSim/Region/Physics/BulletSPlugin/BSPrim.cs | |||
@@ -977,8 +977,8 @@ public sealed class BSPrim : PhysicsActor | |||
977 | { | 977 | { |
978 | if (_pbs.ProfileShape == ProfileShape.HalfCircle && _pbs.PathCurve == (byte)Extrusion.Curve1) | 978 | if (_pbs.ProfileShape == ProfileShape.HalfCircle && _pbs.PathCurve == (byte)Extrusion.Curve1) |
979 | { | 979 | { |
980 | if (_size.X == _size.Y && _size.Y == _size.Z && _size.X == _size.Z) | 980 | // if (_size.X == _size.Y && _size.Y == _size.Z && _size.X == _size.Z) |
981 | { | 981 | // { |
982 | // m_log.DebugFormat("{0}: CreateGeom: Defaulting to sphere of size {1}", LogHeader, _size); | 982 | // m_log.DebugFormat("{0}: CreateGeom: Defaulting to sphere of size {1}", LogHeader, _size); |
983 | if (forceRebuild || (_shapeType != ShapeData.PhysicsShapeType.SHAPE_SPHERE)) | 983 | if (forceRebuild || (_shapeType != ShapeData.PhysicsShapeType.SHAPE_SPHERE)) |
984 | { | 984 | { |
@@ -989,7 +989,7 @@ public sealed class BSPrim : PhysicsActor | |||
989 | // TODO: do we need to check for and destroy a mesh or hull that might have been left from before? | 989 | // TODO: do we need to check for and destroy a mesh or hull that might have been left from before? |
990 | ret = true; | 990 | ret = true; |
991 | } | 991 | } |
992 | } | 992 | // } |
993 | } | 993 | } |
994 | else | 994 | else |
995 | { | 995 | { |
@@ -1039,7 +1039,7 @@ public sealed class BSPrim : PhysicsActor | |||
1039 | // if this new shape is the same as last time, don't recreate the mesh | 1039 | // if this new shape is the same as last time, don't recreate the mesh |
1040 | if (_meshKey == newMeshKey) return; | 1040 | if (_meshKey == newMeshKey) return; |
1041 | 1041 | ||
1042 | DetailLog("{0},CreateGeomMesh,create,key={1}", LocalID, _meshKey); | 1042 | DetailLog("{0},CreateGeomMesh,create,key={1}", LocalID, newMeshKey); |
1043 | // Since we're recreating new, get rid of any previously generated shape | 1043 | // Since we're recreating new, get rid of any previously generated shape |
1044 | if (_meshKey != 0) | 1044 | if (_meshKey != 0) |
1045 | { | 1045 | { |