mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 08:06:27 +08:00
Allow setting holesize to 0.01 from scripts just like from viewer.
This commit is contained in:
committed by
Robert Adams
parent
68ed200191
commit
f63d6ffd81
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user