Allow setting hollow to 99% from scripts just like from viewer.

This commit is contained in:
Magnuz Binder
2015-03-20 18:43:42 +01:00
committed by Robert Adams
parent f63d6ffd81
commit 07a75677c3
2 changed files with 6 additions and 6 deletions

View File

@@ -7450,12 +7450,12 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
hollow = 0.70f;
}
}
// Otherwise, hollow is limited to 95%.
// Otherwise, hollow is limited to 99%.
else
{
if (hollow > 0.95f)
if (hollow > 0.99f)
{
hollow = 0.95f;
hollow = 0.99f;
}
}
shapeBlock.ProfileHollow = (ushort)(50000 * hollow);