Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
commit
502aa7bb15
|
@ -953,8 +953,10 @@ public sealed class BSScene : PhysicsScene, IPhysicsParameters
|
||||||
float pathShearY = pbs.PathShearY < 128 ? (float)pbs.PathShearY * 0.01f : (float)(pbs.PathShearY - 256) * 0.01f;
|
float pathShearY = pbs.PathShearY < 128 ? (float)pbs.PathShearY * 0.01f : (float)(pbs.PathShearY - 256) * 0.01f;
|
||||||
float pathBegin = (float)pbs.PathBegin * 2.0e-5f;
|
float pathBegin = (float)pbs.PathBegin * 2.0e-5f;
|
||||||
float pathEnd = 1.0f - (float)pbs.PathEnd * 2.0e-5f;
|
float pathEnd = 1.0f - (float)pbs.PathEnd * 2.0e-5f;
|
||||||
float pathScaleX = (float)(pbs.PathScaleX - 100) * 0.01f;
|
float pathScaleX = (float)(200 - pbs.PathScaleX) * 0.01f;
|
||||||
float pathScaleY = (float)(pbs.PathScaleY - 100) * 0.01f;
|
float pathScaleY = (float)(200 - pbs.PathScaleY) * 0.01f;
|
||||||
|
float pathTaperX = pbs.PathTaperX * 0.01f;
|
||||||
|
float pathTaperY = pbs.PathTaperY * 0.01f;
|
||||||
|
|
||||||
float profileBegin = (float)pbs.ProfileBegin * 2.0e-5f;
|
float profileBegin = (float)pbs.ProfileBegin * 2.0e-5f;
|
||||||
float profileEnd = 1.0f - (float)pbs.ProfileEnd * 2.0e-5f;
|
float profileEnd = 1.0f - (float)pbs.ProfileEnd * 2.0e-5f;
|
||||||
|
|
|
@ -135,6 +135,8 @@ public class HullCreation : OpenSimTestCase
|
||||||
pbs = PrimitiveBaseShape.CreateSphere();
|
pbs = PrimitiveBaseShape.CreateSphere();
|
||||||
pbs.ProfileShape = (byte)ProfileShape.Circle;
|
pbs.ProfileShape = (byte)ProfileShape.Circle;
|
||||||
pbs.PathCurve = (byte)Extrusion.Curve1;
|
pbs.PathCurve = (byte)Extrusion.Curve1;
|
||||||
|
pbs.PathScaleX = 100; // default hollow info as set in the viewer
|
||||||
|
pbs.PathScaleY = 25;
|
||||||
pos = new Vector3(120.0f, 120.0f, 0f);
|
pos = new Vector3(120.0f, 120.0f, 0f);
|
||||||
pos.Z = PhysicsScene.TerrainManager.GetTerrainHeightAtXYZ(pos) + 10f;
|
pos.Z = PhysicsScene.TerrainManager.GetTerrainHeightAtXYZ(pos) + 10f;
|
||||||
ObjectInitPosition = pos;
|
ObjectInitPosition = pos;
|
||||||
|
|
|
@ -49,7 +49,7 @@
|
||||||
;# {PublicPort} {} {PublicPort} {8002} "8002"
|
;# {PublicPort} {} {PublicPort} {8002} "8002"
|
||||||
PublicPort = "8002"
|
PublicPort = "8002"
|
||||||
|
|
||||||
;# {PrivatePort} {} {PublicPort} {8003} "8003"
|
;# {PrivatePort} {} {PrivatePort} {8003} "8003"
|
||||||
PrivatePort = "8003"
|
PrivatePort = "8003"
|
||||||
|
|
||||||
|
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue