viewers can set a minimum distance 0.02 between path cut start and path cut end
parent
83e58ebc7c
commit
5af82df9b6
|
@ -7422,13 +7422,13 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
|||
{
|
||||
cut.y = 1f;
|
||||
}
|
||||
if (cut.y - cut.x < 0.05f)
|
||||
if (cut.y - cut.x < 0.02f)
|
||||
{
|
||||
cut.x = cut.y - 0.05f;
|
||||
cut.x = cut.y - 0.02f;
|
||||
if (cut.x < 0.0f)
|
||||
{
|
||||
cut.x = 0.0f;
|
||||
cut.y = 0.05f;
|
||||
cut.y = 0.02f;
|
||||
}
|
||||
}
|
||||
shapeBlock.ProfileBegin = (ushort)(50000 * cut.x);
|
||||
|
|
Loading…
Reference in New Issue