== UUID.Zero is slow

This commit is contained in:
UbitUmarov
2022-01-08 23:35:56 +00:00
parent cb98fb309c
commit 357f20eb14
73 changed files with 251 additions and 260 deletions

View File

@@ -479,7 +479,7 @@ namespace OpenSim
scene.SnmpService.BootInfo("Loading prims", scene);
}
while (regionInfo.EstateSettings.EstateOwner == UUID.Zero && MainConsole.Instance != null)
while (regionInfo.EstateSettings.EstateOwner.IsZero() && MainConsole.Instance != null)
SetUpEstateOwner(scene);
scene.loadAllLandObjectsFromStorage(regionInfo.originRegionID);
@@ -638,7 +638,7 @@ namespace OpenSim
}
// If we've been given a zero uuid then this signals that we should use a random user id
if (estateOwnerUuid == UUID.Zero)
if (estateOwnerUuid.IsZero())
estateOwnerUuid = UUID.Random();
account