mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 06:06:06 +08:00
Implement CHANGED_REGION_(RE)START and also fix various CHANGED_* constants which had the wrong values (checked using LSL in SL). This addresses mantis #217 and mantis #53.
This commit is contained in:
@@ -392,13 +392,13 @@ namespace OpenSim.Region.ScriptEngine.Shared.Instance
|
||||
{
|
||||
// m_log.Debug("[Script] Posted changed(CHANGED_REGION_RESTART) to script");
|
||||
PostEvent(new EventParams("changed",
|
||||
new Object[] {new LSL_Types.LSLInteger(256)}, new DetectParams[0]));
|
||||
new Object[] { (int)Changed.REGION_RESTART }, new DetectParams[0]));
|
||||
}
|
||||
else if (m_stateSource == StateSource.PrimCrossing)
|
||||
{
|
||||
// CHANGED_REGION
|
||||
PostEvent(new EventParams("changed",
|
||||
new Object[] {new LSL_Types.LSLInteger(512)}, new DetectParams[0]));
|
||||
new Object[] { (int)Changed.REGION }, new DetectParams[0]));
|
||||
}
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user