diff options
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; |