aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine
diff options
context:
space:
mode:
authorMagnuz Binder2015-03-20 19:03:17 +0100
committerRobert Adams2015-03-22 09:53:13 -0700
commitf63d6ffd81fd3f074212c78ce4a926f5a7b07867 (patch)
tree758486e29609bb40fd6b517bc0f3c13ee9407f93 /OpenSim/Region/ScriptEngine
parentAllow setting dimple diff to 0.02 from scripts just like from viewer, add cli... (diff)
downloadopensim-SC_OLD-f63d6ffd81fd3f074212c78ce4a926f5a7b07867.zip
opensim-SC_OLD-f63d6ffd81fd3f074212c78ce4a926f5a7b07867.tar.gz
opensim-SC_OLD-f63d6ffd81fd3f074212c78ce4a926f5a7b07867.tar.bz2
opensim-SC_OLD-f63d6ffd81fd3f074212c78ce4a926f5a7b07867.tar.xz
Allow setting holesize to 0.01 from scripts just like from viewer.
Diffstat (limited to 'OpenSim/Region/ScriptEngine')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
index 580d943..6ccf86d 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -7607,17 +7607,17 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
7607 shapeBlock.PathBegin = shapeBlock.ProfileBegin; 7607 shapeBlock.PathBegin = shapeBlock.ProfileBegin;
7608 shapeBlock.PathEnd = shapeBlock.ProfileEnd; 7608 shapeBlock.PathEnd = shapeBlock.ProfileEnd;
7609 7609
7610 if (holesize.x < 0.05f) 7610 if (holesize.x < 0.01f)
7611 { 7611 {
7612 holesize.x = 0.05f; 7612 holesize.x = 0.01f;
7613 } 7613 }
7614 if (holesize.x > 1f) 7614 if (holesize.x > 1f)
7615 { 7615 {
7616 holesize.x = 1f; 7616 holesize.x = 1f;
7617 } 7617 }
7618 if (holesize.y < 0.05f) 7618 if (holesize.y < 0.01f)
7619 { 7619 {
7620 holesize.y = 0.05f; 7620 holesize.y = 0.01f;
7621 } 7621 }
7622 if (holesize.y > 0.5f) 7622 if (holesize.y > 0.5f)
7623 { 7623 {