== UUID.Zero is slow

This commit is contained in:
UbitUmarov
2022-01-09 00:33:16 +00:00
parent 357f20eb14
commit 7e0fc95c3a
26 changed files with 137 additions and 143 deletions

View File

@@ -252,7 +252,7 @@ namespace OpenSim.Region.ScriptEngine.Shared
public void Populate(Scene scene, DetectedObject obj)
{
if(obj.keyUUID == UUID.Zero) // land
if(obj.keyUUID.IsZero()) // land
{
Position = new LSL_Types.Vector3(obj.posVector);
Rotation.s = 1.0;