diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs index 8b71f5b..6d906b7 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | |||
@@ -1479,8 +1479,8 @@ namespace OpenSim.Region.Framework.Scenes | |||
1479 | avatar.StandUp(); | 1479 | avatar.StandUp(); |
1480 | 1480 | ||
1481 | if (!silent) | 1481 | if (!silent) |
1482 | { | 1482 | { |
1483 | part.UpdateFlag = 0; | 1483 | part.ClearUpdateSchedule(); |
1484 | if (part == m_rootPart) | 1484 | if (part == m_rootPart) |
1485 | { | 1485 | { |
1486 | if (!IsAttachment || (AttachedAvatar == avatar.ControllingClient.AgentId) || | 1486 | if (!IsAttachment || (AttachedAvatar == avatar.ControllingClient.AgentId) || |
@@ -2123,13 +2123,13 @@ namespace OpenSim.Region.Framework.Scenes | |||
2123 | 2123 | ||
2124 | if (UsePhysics && !AbsolutePosition.ApproxEquals(lastPhysGroupPos, 0.02f)) | 2124 | if (UsePhysics && !AbsolutePosition.ApproxEquals(lastPhysGroupPos, 0.02f)) |
2125 | { | 2125 | { |
2126 | m_rootPart.UpdateFlag = 1; | 2126 | m_rootPart.UpdateFlag = UpdateRequired.TERSE; |
2127 | lastPhysGroupPos = AbsolutePosition; | 2127 | lastPhysGroupPos = AbsolutePosition; |
2128 | } | 2128 | } |
2129 | 2129 | ||
2130 | if (UsePhysics && !GroupRotation.ApproxEquals(lastPhysGroupRot, 0.1f)) | 2130 | if (UsePhysics && !GroupRotation.ApproxEquals(lastPhysGroupRot, 0.1f)) |
2131 | { | 2131 | { |
2132 | m_rootPart.UpdateFlag = 1; | 2132 | m_rootPart.UpdateFlag = UpdateRequired.TERSE; |
2133 | lastPhysGroupRot = GroupRotation; | 2133 | lastPhysGroupRot = GroupRotation; |
2134 | } | 2134 | } |
2135 | 2135 | ||