diff options
author | UbitUmarov | 2017-01-27 21:43:25 +0000 |
---|---|---|
committer | UbitUmarov | 2017-01-27 21:43:25 +0000 |
commit | 056ccaed90eb41a2449dcc5677c982d5427da2d4 (patch) | |
tree | 642c1e5cc44a17b36d9c101cacada8a733f4e830 /OpenSim | |
parent | fix SimwideArea again (diff) | |
download | opensim-SC_OLD-056ccaed90eb41a2449dcc5677c982d5427da2d4.zip opensim-SC_OLD-056ccaed90eb41a2449dcc5677c982d5427da2d4.tar.gz opensim-SC_OLD-056ccaed90eb41a2449dcc5677c982d5427da2d4.tar.bz2 opensim-SC_OLD-056ccaed90eb41a2449dcc5677c982d5427da2d4.tar.xz |
update parcel select or sat on stats on sit and stand
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index c4d4f8f..a5af7e1 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -3117,6 +3117,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
3117 | 3117 | ||
3118 | Vector3 standPos = sitPartWorldPosition + adjustmentForSitPose; | 3118 | Vector3 standPos = sitPartWorldPosition + adjustmentForSitPose; |
3119 | m_pos = standPos; | 3119 | m_pos = standPos; |
3120 | |||
3120 | } | 3121 | } |
3121 | 3122 | ||
3122 | // We need to wait until we have calculated proper stand positions before sitting up the physical | 3123 | // We need to wait until we have calculated proper stand positions before sitting up the physical |
@@ -3131,6 +3132,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
3131 | part.ParentGroup.TriggerScriptChangedEvent(Changed.LINK); | 3132 | part.ParentGroup.TriggerScriptChangedEvent(Changed.LINK); |
3132 | 3133 | ||
3133 | SendAvatarDataToAllAgents(); | 3134 | SendAvatarDataToAllAgents(); |
3135 | m_scene.EventManager.TriggerParcelPrimCountTainted(); // update select/ sat on | ||
3134 | } | 3136 | } |
3135 | 3137 | ||
3136 | // reset to default sitAnimation | 3138 | // reset to default sitAnimation |
@@ -3263,6 +3265,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
3263 | // Moved here to avoid a race with default sit anim | 3265 | // Moved here to avoid a race with default sit anim |
3264 | // The script event needs to be raised after the default sit anim is set. | 3266 | // The script event needs to be raised after the default sit anim is set. |
3265 | part.ParentGroup.TriggerScriptChangedEvent(Changed.LINK); | 3267 | part.ParentGroup.TriggerScriptChangedEvent(Changed.LINK); |
3268 | m_scene.EventManager.TriggerParcelPrimCountTainted(); // update select/ sat on | ||
3266 | } | 3269 | } |
3267 | } | 3270 | } |
3268 | 3271 | ||
@@ -3412,6 +3415,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
3412 | 3415 | ||
3413 | Animator.SetMovementAnimations("SIT"); | 3416 | Animator.SetMovementAnimations("SIT"); |
3414 | part.ParentGroup.TriggerScriptChangedEvent(Changed.LINK); | 3417 | part.ParentGroup.TriggerScriptChangedEvent(Changed.LINK); |
3418 | m_scene.EventManager.TriggerParcelPrimCountTainted(); // update select/ sat on | ||
3415 | } | 3419 | } |
3416 | 3420 | ||
3417 | public void HandleAgentSit(IClientAPI remoteClient, UUID agentID) | 3421 | public void HandleAgentSit(IClientAPI remoteClient, UUID agentID) |