aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework
diff options
context:
space:
mode:
authorDiva Canto2013-07-20 17:58:32 -0700
committerDiva Canto2013-07-21 09:01:44 -0700
commitb5ab0698d6328c90d779c2af29914da840335233 (patch)
treec78baed03c24a8f78ff210962bb6e9acf302c653 /OpenSim/Region/Framework
parentFilter certain viewer effects depending on distance between the avatar that i... (diff)
downloadopensim-SC_OLD-b5ab0698d6328c90d779c2af29914da840335233.zip
opensim-SC_OLD-b5ab0698d6328c90d779c2af29914da840335233.tar.gz
opensim-SC_OLD-b5ab0698d6328c90d779c2af29914da840335233.tar.bz2
opensim-SC_OLD-b5ab0698d6328c90d779c2af29914da840335233.tar.xz
EDIT BEAMS!!! They had been missing from OpenSim since ever. Thanks to lkalif for telling me how to route the information. The viewer effect is under the distance filter, so only avatars with cameras < 10m away see the beams.
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r--OpenSim/Region/Framework/Scenes/ScenePresence.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
index 2359f55..e06cec8 100644
--- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
@@ -1125,7 +1125,7 @@ namespace OpenSim.Region.Framework.Scenes
1125 1125
1126 public void StopFlying() 1126 public void StopFlying()
1127 { 1127 {
1128 ControllingClient.StopFlying(this); 1128 ControllingClient.SendAgentTerseUpdate(this);
1129 } 1129 }
1130 1130
1131 /// <summary> 1131 /// <summary>
@@ -1728,6 +1728,9 @@ namespace OpenSim.Region.Framework.Scenes
1728 SendControlsToScripts(flagsForScripts); 1728 SendControlsToScripts(flagsForScripts);
1729 } 1729 }
1730 1730
1731 if ((State & 0x10) != 0)
1732 ControllingClient.SendAgentTerseUpdate(this);
1733
1731 m_scene.EventManager.TriggerOnClientMovement(this); 1734 m_scene.EventManager.TriggerOnClientMovement(this);
1732 } 1735 }
1733 1736