Allow setting holesize to 0.01 from scripts just like from viewer.

inv-download
Magnuz Binder 2015-03-20 19:03:17 +01:00 committed by Robert Adams
parent 68ed200191
commit f63d6ffd81
1 changed files with 4 additions and 4 deletions

View File

@ -7607,17 +7607,17 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
shapeBlock.PathBegin = shapeBlock.ProfileBegin;
shapeBlock.PathEnd = shapeBlock.ProfileEnd;
if (holesize.x < 0.05f)
if (holesize.x < 0.01f)
{
holesize.x = 0.05f;
holesize.x = 0.01f;
}
if (holesize.x > 1f)
{
holesize.x = 1f;
}
if (holesize.y < 0.05f)
if (holesize.y < 0.01f)
{
holesize.y = 0.05f;
holesize.y = 0.01f;
}
if (holesize.y > 0.5f)
{