diff options
Merge branch 'master' into careminster
Conflicts:
OpenSim/Region/CoreModules/World/Region/RestartModule.cs
OpenSim/Region/Framework/Scenes/SceneGraph.cs
OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/ScenePresence.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index 3f4979e..88ecda2 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -2707,6 +2707,9 @@ namespace OpenSim.Region.Framework.Scenes | |||
2707 | 2707 | ||
2708 | public void HandleAgentSit(IClientAPI remoteClient, UUID agentID) | 2708 | public void HandleAgentSit(IClientAPI remoteClient, UUID agentID) |
2709 | { | 2709 | { |
2710 | if (IsChildAgent) | ||
2711 | return; | ||
2712 | |||
2710 | SceneObjectPart part = m_scene.GetSceneObjectPart(m_requestedSitTargetID); | 2713 | SceneObjectPart part = m_scene.GetSceneObjectPart(m_requestedSitTargetID); |
2711 | 2714 | ||
2712 | if (part != null) | 2715 | if (part != null) |
@@ -2793,6 +2796,9 @@ namespace OpenSim.Region.Framework.Scenes | |||
2793 | 2796 | ||
2794 | public void HandleAgentSitOnGround() | 2797 | public void HandleAgentSitOnGround() |
2795 | { | 2798 | { |
2799 | if (IsChildAgent) | ||
2800 | return; | ||
2801 | |||
2796 | // m_updateCount = 0; // Kill animation update burst so that the SIT_G.. will stick.. | 2802 | // m_updateCount = 0; // Kill animation update burst so that the SIT_G.. will stick.. |
2797 | m_AngularVelocity = Vector3.Zero; | 2803 | m_AngularVelocity = Vector3.Zero; |
2798 | Animator.TrySetMovementAnimation("SIT_GROUND_CONSTRAINED"); | 2804 | Animator.TrySetMovementAnimation("SIT_GROUND_CONSTRAINED"); |
@@ -3451,11 +3457,6 @@ namespace OpenSim.Region.Framework.Scenes | |||
3451 | } | 3457 | } |
3452 | } | 3458 | } |
3453 | 3459 | ||
3454 | public void RestoreInCurrentScene() | ||
3455 | { | ||
3456 | AddToPhysicalScene(false); // not exactly false | ||
3457 | } | ||
3458 | |||
3459 | public void Reset() | 3460 | public void Reset() |
3460 | { | 3461 | { |
3461 | // m_log.DebugFormat("[SCENE PRESENCE]: Resetting {0} in {1}", Name, Scene.RegionInfo.RegionName); | 3462 | // m_log.DebugFormat("[SCENE PRESENCE]: Resetting {0} in {1}", Name, Scene.RegionInfo.RegionName); |