mirror of
https://github.com/opensim/opensim.git
synced 2026-07-13 19:14:51 +08:00
* Makes Second Life environment sensor ranges and maximum response number configurable * Thanks Intimidated
This commit is contained in:
@@ -43,6 +43,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Plugins
|
||||
public SensorRepeat(AsyncCommandManager CmdManager)
|
||||
{
|
||||
m_CmdManager = CmdManager;
|
||||
maximumRange = CmdManager.m_ScriptEngine.Config.GetDouble("SensorMaxRange", 96.0d);
|
||||
maximumToReturn = CmdManager.m_ScriptEngine.Config.GetInt("SensorMaxResults", 16);
|
||||
}
|
||||
|
||||
private Object SenseLock = new Object();
|
||||
|
||||
Reference in New Issue
Block a user