aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/ScenePresence.cs
diff options
context:
space:
mode:
authorUbitUmarov2014-09-16 21:25:06 +0100
committerUbitUmarov2014-09-16 21:25:06 +0100
commitaffcdcce8b2bd59f3c7f83e38adb9e1246f7d00f (patch)
treed81e62c7c3d856f4f125aab22b807b55142fb100 /OpenSim/Region/Framework/Scenes/ScenePresence.cs
parentReinstate closing the client if CloseAgen returns false. This was part (diff)
downloadopensim-SC_OLD-affcdcce8b2bd59f3c7f83e38adb9e1246f7d00f.zip
opensim-SC_OLD-affcdcce8b2bd59f3c7f83e38adb9e1246f7d00f.tar.gz
opensim-SC_OLD-affcdcce8b2bd59f3c7f83e38adb9e1246f7d00f.tar.bz2
opensim-SC_OLD-affcdcce8b2bd59f3c7f83e38adb9e1246f7d00f.tar.xz
try to send fly state on tps
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/ScenePresence.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/ScenePresence.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
index fd1bab6..dba95c7 100644
--- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
@@ -4268,10 +4268,11 @@ namespace OpenSim.Region.Framework.Scenes
4268 GodLevel = cAgent.GodLevel; 4268 GodLevel = cAgent.GodLevel;
4269 SetAlwaysRun = cAgent.AlwaysRun; 4269 SetAlwaysRun = cAgent.AlwaysRun;
4270 4270
4271 bool isFlying = ((m_AgentControlFlags & AgentManager.ControlFlags.AGENT_CONTROL_FLY) != 0);
4272
4271 Appearance = new AvatarAppearance(cAgent.Appearance); 4273 Appearance = new AvatarAppearance(cAgent.Appearance);
4272 if (PhysicsActor != null) 4274 if (PhysicsActor != null)
4273 { 4275 {
4274 bool isFlying = Flying;
4275 RemoveFromPhysicalScene(); 4276 RemoveFromPhysicalScene();
4276 AddToPhysicalScene(isFlying); 4277 AddToPhysicalScene(isFlying);
4277 } 4278 }