diff options
author | Robert Adams | 2015-01-04 13:52:14 -0800 |
---|---|---|
committer | Robert Adams | 2015-01-04 13:52:14 -0800 |
commit | a617159f8b7aeb79cc484126f081f53e1b5f1627 (patch) | |
tree | faaa755dc0ec95f77e00bf4d575b1a34c999d492 /OpenSim/Region/Physics/BulletSPlugin/Tests/HullCreation.cs | |
parent | Removing the Wifi config example from Robust.HG.ini.example, because it is no... (diff) | |
download | opensim-SC-a617159f8b7aeb79cc484126f081f53e1b5f1627.zip opensim-SC-a617159f8b7aeb79cc484126f081f53e1b5f1627.tar.gz opensim-SC-a617159f8b7aeb79cc484126f081f53e1b5f1627.tar.bz2 opensim-SC-a617159f8b7aeb79cc484126f081f53e1b5f1627.tar.xz |
BulletSim: correct some of the debugging input and output of PrimitiveBaseShape.
Whoever defined that structure was really into esoteric coding.
Diffstat (limited to 'OpenSim/Region/Physics/BulletSPlugin/Tests/HullCreation.cs')
-rw-r--r-- | OpenSim/Region/Physics/BulletSPlugin/Tests/HullCreation.cs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/Tests/HullCreation.cs b/OpenSim/Region/Physics/BulletSPlugin/Tests/HullCreation.cs index 4bec062..608a6e6 100644 --- a/OpenSim/Region/Physics/BulletSPlugin/Tests/HullCreation.cs +++ b/OpenSim/Region/Physics/BulletSPlugin/Tests/HullCreation.cs | |||
@@ -135,6 +135,8 @@ public class HullCreation : OpenSimTestCase | |||
135 | pbs = PrimitiveBaseShape.CreateSphere(); | 135 | pbs = PrimitiveBaseShape.CreateSphere(); |
136 | pbs.ProfileShape = (byte)ProfileShape.Circle; | 136 | pbs.ProfileShape = (byte)ProfileShape.Circle; |
137 | pbs.PathCurve = (byte)Extrusion.Curve1; | 137 | pbs.PathCurve = (byte)Extrusion.Curve1; |
138 | pbs.PathScaleX = 100; // default hollow info as set in the viewer | ||
139 | pbs.PathScaleY = 25; | ||
138 | pos = new Vector3(120.0f, 120.0f, 0f); | 140 | pos = new Vector3(120.0f, 120.0f, 0f); |
139 | pos.Z = PhysicsScene.TerrainManager.GetTerrainHeightAtXYZ(pos) + 10f; | 141 | pos.Z = PhysicsScene.TerrainManager.GetTerrainHeightAtXYZ(pos) + 10f; |
140 | ObjectInitPosition = pos; | 142 | ObjectInitPosition = pos; |
@@ -182,8 +184,8 @@ public class HullCreation : OpenSimTestCase | |||
182 | prim.PhysScene.DetailLog("{0}, mesh, shapeInfo={1}", prim.Name, mShape.shapeInfo); | 184 | prim.PhysScene.DetailLog("{0}, mesh, shapeInfo={1}", prim.Name, mShape.shapeInfo); |
183 | break; | 185 | break; |
184 | case "OpenSim.Region.Physics.BulletSPlugin.BSShapeHull": | 186 | case "OpenSim.Region.Physics.BulletSPlugin.BSShapeHull": |
185 | // BSShapeHull hShape = physShape as BSShapeHull; | 187 | BSShapeHull hShape = physShape as BSShapeHull; |
186 | // prim.PhysScene.DetailLog("{0}, hull, shapeInfo={1}", prim.Name, hShape.shapeInfo); | 188 | prim.PhysScene.DetailLog("{0}, hull, shapeInfo={1}", prim.Name, hShape.shapeInfo); |
187 | break; | 189 | break; |
188 | case "OpenSim.Region.Physics.BulletSPlugin.BSShapeConvexHull": | 190 | case "OpenSim.Region.Physics.BulletSPlugin.BSShapeConvexHull": |
189 | BSShapeConvexHull chShape = physShape as BSShapeConvexHull; | 191 | BSShapeConvexHull chShape = physShape as BSShapeConvexHull; |