Fix mesh cache race condition in llCastRay V3.
Signed-off-by: Michael Cerquoni <nebadon2025@gmail.com>fsassets
parent
defc9c1d86
commit
abb3bb60a6
|
@ -14318,6 +14318,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
|||
{
|
||||
lock(m_cachedMeshes)
|
||||
{
|
||||
if (!m_cachedMeshes.ContainsKey(meshKey))
|
||||
m_cachedMeshes.Add(meshKey, mesh);
|
||||
}
|
||||
}
|
||||
|
@ -14395,6 +14396,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
|||
{
|
||||
lock(m_cachedMeshes)
|
||||
{
|
||||
if (!m_cachedMeshes.ContainsKey(meshKey))
|
||||
m_cachedMeshes.Add(meshKey, mesh);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue