diff options
author | Magnuz Binder | 2015-03-20 18:43:42 +0100 |
---|---|---|
committer | Robert Adams | 2015-03-22 09:53:27 -0700 |
commit | 07a75677c3100ff6c3444d68f6f6039b70bac65d (patch) | |
tree | 23e0400355d21057af0305c915b4b77b6cf1708a /OpenSim/Region/ScriptEngine/Shared/Api | |
parent | Allow setting holesize to 0.01 from scripts just like from viewer. (diff) | |
download | opensim-SC-07a75677c3100ff6c3444d68f6f6039b70bac65d.zip opensim-SC-07a75677c3100ff6c3444d68f6f6039b70bac65d.tar.gz opensim-SC-07a75677c3100ff6c3444d68f6f6039b70bac65d.tar.bz2 opensim-SC-07a75677c3100ff6c3444d68f6f6039b70bac65d.tar.xz |
Allow setting hollow to 99% from scripts just like from viewer.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 6 |
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 6ccf86d..f075d50 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -7450,12 +7450,12 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
7450 | hollow = 0.70f; | 7450 | hollow = 0.70f; |
7451 | } | 7451 | } |
7452 | } | 7452 | } |
7453 | // Otherwise, hollow is limited to 95%. | 7453 | // Otherwise, hollow is limited to 99%. |
7454 | else | 7454 | else |
7455 | { | 7455 | { |
7456 | if (hollow > 0.95f) | 7456 | if (hollow > 0.99f) |
7457 | { | 7457 | { |
7458 | hollow = 0.95f; | 7458 | hollow = 0.99f; |
7459 | } | 7459 | } |
7460 | } | 7460 | } |
7461 | shapeBlock.ProfileHollow = (ushort)(50000 * hollow); | 7461 | shapeBlock.ProfileHollow = (ushort)(50000 * hollow); |