diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 3 |
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; |