diff options
author | UbitUmarov | 2019-02-20 20:12:13 +0000 |
---|---|---|
committer | UbitUmarov | 2019-02-20 20:12:13 +0000 |
commit | 72c472f98858a6609d12ad36791fe497cd9f21d5 (patch) | |
tree | 8f665b1703f5c21a9d96654dad4c0b5958d013af /OpenSim/Region/ScriptEngine/YEngine/XMRInstMisc.cs | |
parent | Xengine: exclude a few more events from mineventdelay (diff) | |
download | opensim-SC-72c472f98858a6609d12ad36791fe497cd9f21d5.zip opensim-SC-72c472f98858a6609d12ad36791fe497cd9f21d5.tar.gz opensim-SC-72c472f98858a6609d12ad36791fe497cd9f21d5.tar.bz2 opensim-SC-72c472f98858a6609d12ad36791fe497cd9f21d5.tar.xz |
Yengine: let llminEventDelay do something: it just ignores a more limited set of events than Xengine (neither do as SL)
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ScriptEngine/YEngine/XMRInstMisc.cs | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/YEngine/XMRInstMisc.cs b/OpenSim/Region/ScriptEngine/YEngine/XMRInstMisc.cs index 0af3d37..12feb7b 100644 --- a/OpenSim/Region/ScriptEngine/YEngine/XMRInstMisc.cs +++ b/OpenSim/Region/ScriptEngine/YEngine/XMRInstMisc.cs | |||
@@ -298,6 +298,24 @@ namespace OpenSim.Region.ScriptEngine.Yengine | |||
298 | } | 298 | } |
299 | } | 299 | } |
300 | 300 | ||
301 | public double MinEventDelay | ||
302 | { | ||
303 | get | ||
304 | { | ||
305 | return m_minEventDelay; | ||
306 | } | ||
307 | set | ||
308 | { | ||
309 | if (value > 0.001) | ||
310 | m_minEventDelay = value; | ||
311 | else | ||
312 | m_minEventDelay = 0.0; | ||
313 | |||
314 | m_nextEventTime = 0.0; // reset it | ||
315 | } | ||
316 | } | ||
317 | |||
318 | |||
301 | public SceneObjectPart SceneObject | 319 | public SceneObjectPart SceneObject |
302 | { | 320 | { |
303 | get | 321 | get |