aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorFreaky Tech2015-03-20 01:02:59 +0100
committerRobert Adams2015-03-22 09:52:46 -0700
commit5af82df9b62abf60609c51b4d388ed249a8a2d5c (patch)
treecad2fb11b8dd23631940749b25dc98f5bd16da58
parentoops someone set individual quaternion members and forgot to normalize (diff)
downloadopensim-SC-5af82df9b62abf60609c51b4d388ed249a8a2d5c.zip
opensim-SC-5af82df9b62abf60609c51b4d388ed249a8a2d5c.tar.gz
opensim-SC-5af82df9b62abf60609c51b4d388ed249a8a2d5c.tar.bz2
opensim-SC-5af82df9b62abf60609c51b4d388ed249a8a2d5c.tar.xz
viewers can set a minimum distance 0.02 between path cut start and path cut end
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
index 054b8e3..f874db8 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -7422,13 +7422,13 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
7422 { 7422 {
7423 cut.y = 1f; 7423 cut.y = 1f;
7424 } 7424 }
7425 if (cut.y - cut.x < 0.05f) 7425 if (cut.y - cut.x < 0.02f)
7426 { 7426 {
7427 cut.x = cut.y - 0.05f; 7427 cut.x = cut.y - 0.02f;
7428 if (cut.x < 0.0f) 7428 if (cut.x < 0.0f)
7429 { 7429 {
7430 cut.x = 0.0f; 7430 cut.x = 0.0f;
7431 cut.y = 0.05f; 7431 cut.y = 0.02f;
7432 } 7432 }
7433 } 7433 }
7434 shapeBlock.ProfileBegin = (ushort)(50000 * cut.x); 7434 shapeBlock.ProfileBegin = (ushort)(50000 * cut.x);