diff options
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/Plugins/SensorRepeat.cs | 2 | ||||
-rw-r--r-- | bin/OpenSim.ini.example | 4 |
2 files changed, 6 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(); |
diff --git a/bin/OpenSim.ini.example b/bin/OpenSim.ini.example index d2e901a..813b1f1 100644 --- a/bin/OpenSim.ini.example +++ b/bin/OpenSim.ini.example | |||
@@ -1070,6 +1070,10 @@ | |||
1070 | ; up the system to malicious scripters | 1070 | ; up the system to malicious scripters |
1071 | ; NotecardLineReadCharsMax = 255 | 1071 | ; NotecardLineReadCharsMax = 255 |
1072 | 1072 | ||
1073 | ; Sensor settings | ||
1074 | SensorMaxRange = 96.0 | ||
1075 | SensorMaxResults = 16 | ||
1076 | |||
1073 | ; OS Functions enable/disable | 1077 | ; OS Functions enable/disable |
1074 | ; For each function, you can add one line, as shown | 1078 | ; For each function, you can add one line, as shown |
1075 | ; The default for all functions allows them if below threat level | 1079 | ; The default for all functions allows them if below threat level |