mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 17:32:42 +08:00
!= UUID.Zero is slow
This commit is contained in:
@@ -139,7 +139,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
// "[PRIM INVENTORY]: Adding inventory item {0} from {1} to part with local ID {2}",
|
||||
// item.Name, remoteClient.Name, localID);
|
||||
|
||||
UUID newItemId = (copyItemID != UUID.Zero) ? copyItemID : item.ID;
|
||||
UUID newItemId = copyItemID.IsZero() ? item.ID : copyItemID;
|
||||
|
||||
SceneObjectPart part = GetPart(localID);
|
||||
if (part == null)
|
||||
|
||||
Reference in New Issue
Block a user