diff options
Merge branch 'master' into careminster-presence-refactor
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/ScenePresence.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index e51d9ee..5ac7755 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -61,7 +61,6 @@ namespace OpenSim.Region.Framework.Scenes | |||
61 | struct ScriptControllers | 61 | struct ScriptControllers |
62 | { | 62 | { |
63 | public UUID itemID; | 63 | public UUID itemID; |
64 | public uint objID; | ||
65 | public ScriptControlled ignoreControls; | 64 | public ScriptControlled ignoreControls; |
66 | public ScriptControlled eventControls; | 65 | public ScriptControlled eventControls; |
67 | } | 66 | } |
@@ -3945,7 +3944,6 @@ Console.WriteLine("Scripted Sit ofset {0}", m_pos); | |||
3945 | obj.eventControls = ScriptControlled.CONTROL_ZERO; | 3944 | obj.eventControls = ScriptControlled.CONTROL_ZERO; |
3946 | 3945 | ||
3947 | obj.itemID = Script_item_UUID; | 3946 | obj.itemID = Script_item_UUID; |
3948 | obj.objID = Obj_localID; | ||
3949 | if (pass_on == 0 && accept == 0) | 3947 | if (pass_on == 0 && accept == 0) |
3950 | { | 3948 | { |
3951 | IgnoredControls |= (ScriptControlled)controls; | 3949 | IgnoredControls |= (ScriptControlled)controls; |
@@ -4088,7 +4086,7 @@ Console.WriteLine("Scripted Sit ofset {0}", m_pos); | |||
4088 | if (localHeld != ScriptControlled.CONTROL_ZERO || localChange != ScriptControlled.CONTROL_ZERO) | 4086 | if (localHeld != ScriptControlled.CONTROL_ZERO || localChange != ScriptControlled.CONTROL_ZERO) |
4089 | { | 4087 | { |
4090 | // only send if still pressed or just changed | 4088 | // only send if still pressed or just changed |
4091 | m_scene.EventManager.TriggerControlEvent(scriptControlData.objID, scriptUUID, UUID, (uint)localHeld, (uint)localChange); | 4089 | m_scene.EventManager.TriggerControlEvent(scriptUUID, UUID, (uint)localHeld, (uint)localChange); |
4092 | } | 4090 | } |
4093 | } | 4091 | } |
4094 | } | 4092 | } |