diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Implementation/Plugins/SensorRepeat.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/Plugins/SensorRepeat.cs | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/Plugins/SensorRepeat.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/Plugins/SensorRepeat.cs index d1e3921..9b0bc5b 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/Plugins/SensorRepeat.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/Plugins/SensorRepeat.cs | |||
@@ -156,28 +156,6 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Plugins | |||
156 | SensorSweep(ts); | 156 | SensorSweep(ts); |
157 | } | 157 | } |
158 | 158 | ||
159 | public LSL_Types.list GetSensorList(uint m_localID, UUID m_itemID) | ||
160 | { | ||
161 | lock (SenseLock) | ||
162 | { | ||
163 | Dictionary<UUID, LSL_Types.list> Obj = null; | ||
164 | if (!SenseEvents.TryGetValue(m_localID, out Obj)) | ||
165 | { | ||
166 | return null; | ||
167 | } | ||
168 | lock (Obj) | ||
169 | { | ||
170 | // Get script | ||
171 | LSL_Types.list SenseList = null; | ||
172 | if (!Obj.TryGetValue(m_itemID, out SenseList)) | ||
173 | { | ||
174 | return null; | ||
175 | } | ||
176 | return SenseList; | ||
177 | } | ||
178 | } | ||
179 | } | ||
180 | |||
181 | private void SensorSweep(SenseRepeatClass ts) | 159 | private void SensorSweep(SenseRepeatClass ts) |
182 | { | 160 | { |
183 | SceneObjectPart SensePoint = ts.host; | 161 | SceneObjectPart SensePoint = ts.host; |