mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
change locking on sop updates
This commit is contained in:
@@ -657,6 +657,9 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
}
|
||||
}
|
||||
|
||||
if(!m_scene.IsRunning)
|
||||
return sog;
|
||||
|
||||
if (root.KeyframeMotion != null)
|
||||
root.KeyframeMotion.StartCrossingCheck();
|
||||
|
||||
@@ -3018,12 +3021,13 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
|
||||
// If we somehow got here to updating the SOG and its root part is not scheduled for update,
|
||||
// check to see if the physical position or rotation warrant an update.
|
||||
/*
|
||||
if (m_rootPart.UpdateFlag == UpdateRequired.NONE)
|
||||
{
|
||||
// rootpart SendScheduledUpdates will check if a update is needed
|
||||
m_rootPart.UpdateFlag = UpdateRequired.TERSE;
|
||||
}
|
||||
|
||||
*/
|
||||
if (IsAttachment)
|
||||
{
|
||||
ScenePresence sp = m_scene.GetScenePresence(AttachedAvatar);
|
||||
|
||||
Reference in New Issue
Block a user