mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 22:26:09 +08:00
Allow setting hollow to 99% from scripts just like from viewer.
This commit is contained in:
committed by
Robert Adams
parent
f63d6ffd81
commit
07a75677c3
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user