mirror of
https://github.com/opensim/opensim.git
synced 2026-08-08 10:15:33 +08:00
== UUID.Zero is slow
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user