From 4959dbba5e4931e91857b5a9bdce45b5668ac4cb Mon Sep 17 00:00:00 2001 From: Robert Adams Date: Wed, 7 Jan 2015 06:42:41 -0800 Subject: [PATCH] BulletSim: make computation of hole cut in hull tester explicit math showing the odd PrimitiveBaseShape value rather than a constant. --- OpenSim/Region/Physics/BulletSPlugin/Tests/HullCreation.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenSim/Region/Physics/BulletSPlugin/Tests/HullCreation.cs b/OpenSim/Region/Physics/BulletSPlugin/Tests/HullCreation.cs index ed7ff9b13d..36513511e0 100644 --- a/OpenSim/Region/Physics/BulletSPlugin/Tests/HullCreation.cs +++ b/OpenSim/Region/Physics/BulletSPlugin/Tests/HullCreation.cs @@ -136,7 +136,7 @@ public class HullCreation : OpenSimTestCase pbs.ProfileShape = (byte)ProfileShape.Circle; pbs.PathCurve = (byte)Extrusion.Curve1; pbs.PathScaleX = 100; // default hollow info as set in the viewer - pbs.PathScaleY = 25; + pbs.PathScaleY = (int)(.25f / 0.01f) + 200; pos = new Vector3(120.0f, 120.0f, 0f); pos.Z = PhysicsScene.TerrainManager.GetTerrainHeightAtXYZ(pos) + 10f; ObjectInitPosition = pos;