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:
@@ -432,7 +432,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
m_log.ErrorFormat("[SCENEGRAPH]: Tried to add null scene object");
|
||||
return false;
|
||||
}
|
||||
if (sceneObject.UUID == UUID.Zero)
|
||||
if (sceneObject.UUID.IsZero())
|
||||
{
|
||||
m_log.ErrorFormat(
|
||||
"[SCENEGRAPH]: Tried to add scene object {0} to {1} with illegal UUID of {2}",
|
||||
|
||||
Reference in New Issue
Block a user