Skip to content

Commit

Permalink
Primitive does not have CRC member
Browse files Browse the repository at this point in the history
cinderblocks committed Aug 28, 2024
1 parent 30116e9 commit 20bb76b
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions LibreMetaverse/Simulator.cs
Original file line number Diff line number Diff line change
@@ -1559,13 +1559,10 @@ internal Primitive MakePrimitive(uint localID)
}
}

internal bool NeedsRequest(uint localID, uint crc32)
internal bool NeedsRequest(uint localID)
{
var dict = PrimCache;
lock (dict)
{
return !dict.TryGetValue(localID, out var prim) || prim.CRC != crc32;
}
lock (dict) return !dict.ContainsKey(localID);
}
#endregion Factories

0 comments on commit 20bb76b

Please sign in to comment.