mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
== UUID.Zero is slow
This commit is contained in:
@@ -132,7 +132,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.SitStand
|
||||
|
||||
foreach (SceneObjectPart part in sceneObject.Parts)
|
||||
{
|
||||
if (part.IsSitTargetSet && part.SitTargetAvatar == UUID.Zero)
|
||||
if (part.IsSitTargetSet && part.SitTargetAvatar.IsZero())
|
||||
{
|
||||
sitPart = part;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user