aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api
diff options
context:
space:
mode:
authorJustin Clarke Casey2009-04-07 19:15:26 +0000
committerJustin Clarke Casey2009-04-07 19:15:26 +0000
commit513ae92bbb4a37c7e95dbd0c5c252862d7658b1c (patch)
tree3a781ac5d0ac779b4d0ddf92e66f6937f65570ef /OpenSim/Region/ScriptEngine/Shared/Api
parent* Apply http://opensimulator.org/mantis/view.php?id=3418 (diff)
downloadopensim-SC_OLD-513ae92bbb4a37c7e95dbd0c5c252862d7658b1c.zip
opensim-SC_OLD-513ae92bbb4a37c7e95dbd0c5c252862d7658b1c.tar.gz
opensim-SC_OLD-513ae92bbb4a37c7e95dbd0c5c252862d7658b1c.tar.bz2
opensim-SC_OLD-513ae92bbb4a37c7e95dbd0c5c252862d7658b1c.tar.xz
* Apply http://opensimulator.org/mantis/view.php?id=3406
* Makes Second Life environment sensor ranges and maximum response number configurable * Thanks Intimidated
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/Plugins/SensorRepeat.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/Plugins/SensorRepeat.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/Plugins/SensorRepeat.cs
index f132518..cc4d88b 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/Plugins/SensorRepeat.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/Plugins/SensorRepeat.cs
@@ -43,6 +43,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Plugins
43 public SensorRepeat(AsyncCommandManager CmdManager) 43 public SensorRepeat(AsyncCommandManager CmdManager)
44 { 44 {
45 m_CmdManager = CmdManager; 45 m_CmdManager = CmdManager;
46 maximumRange = CmdManager.m_ScriptEngine.Config.GetDouble("SensorMaxRange", 96.0d);
47 maximumToReturn = CmdManager.m_ScriptEngine.Config.GetInt("SensorMaxResults", 16);
46 } 48 }
47 49
48 private Object SenseLock = new Object(); 50 private Object SenseLock = new Object();