Remove unnecessary lock of OdeLock in OdePrim.changeadd()
This taint can only ever be processed from the OdeScene.Simulate() loop, which already locks OdeLock.0.7.2-post-fixes
parent
5980d57b7a
commit
d6456b9ea8
|
@ -1494,8 +1494,6 @@ Console.WriteLine("CreateGeom:");
|
||||||
// m_log.Debug(m_localID);
|
// m_log.Debug(m_localID);
|
||||||
}
|
}
|
||||||
|
|
||||||
lock (_parent_scene.OdeLock)
|
|
||||||
{
|
|
||||||
#if SPAM
|
#if SPAM
|
||||||
Console.WriteLine("changeadd 1");
|
Console.WriteLine("changeadd 1");
|
||||||
#endif
|
#endif
|
||||||
|
@ -1513,10 +1511,7 @@ Console.WriteLine("changeadd 1");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (IsPhysical && Body == IntPtr.Zero)
|
if (IsPhysical && Body == IntPtr.Zero)
|
||||||
{
|
|
||||||
enableBody();
|
enableBody();
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
changeSelectedStatus();
|
changeSelectedStatus();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue