aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework
diff options
context:
space:
mode:
authorMelanie2012-07-29 15:10:12 +0200
committerMelanie2012-07-29 15:10:12 +0200
commit729046e1ade1dd4c65fbeaf849d7788233593ad2 (patch)
tree3930797c2887a7984ed09d160b09069545175dd3 /OpenSim/Region/Framework
parentBump number of URLs to 15000 per region (diff)
downloadopensim-SC-729046e1ade1dd4c65fbeaf849d7788233593ad2.zip
opensim-SC-729046e1ade1dd4c65fbeaf849d7788233593ad2.tar.gz
opensim-SC-729046e1ade1dd4c65fbeaf849d7788233593ad2.tar.bz2
opensim-SC-729046e1ade1dd4c65fbeaf849d7788233593ad2.tar.xz
See that if controls are taken, those are released before taking new ones
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r--OpenSim/Region/Framework/Scenes/ScenePresence.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
index e27d309..89df0ce 100644
--- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
@@ -3816,6 +3816,9 @@ namespace OpenSim.Region.Framework.Scenes
3816 if (p == null) 3816 if (p == null)
3817 return; 3817 return;
3818 3818
3819 ControllingClient.SendTakeControls(controls, false, false);
3820 ControllingClient.SendTakeControls(controls, true, false);
3821
3819 ScriptControllers obj = new ScriptControllers(); 3822 ScriptControllers obj = new ScriptControllers();
3820 obj.ignoreControls = ScriptControlled.CONTROL_ZERO; 3823 obj.ignoreControls = ScriptControlled.CONTROL_ZERO;
3821 obj.eventControls = ScriptControlled.CONTROL_ZERO; 3824 obj.eventControls = ScriptControlled.CONTROL_ZERO;