mirror of
https://github.com/opensim/opensim.git
synced 2026-07-31 05:45:37 +08:00
Updates to LibSL revision 1498. Thanks Johan!
This commit is contained in:
@@ -135,7 +135,7 @@ namespace OpenSim.Region.Environment.Modules
|
||||
{
|
||||
m_listenerManager.Remove(handle);
|
||||
}
|
||||
|
||||
|
||||
// This method scans nearby objects and determines if they are listeners,
|
||||
// and if so if this message fits the filter. If it does, then
|
||||
// enqueue the message for delivery to the objects listen event handler.
|
||||
@@ -171,9 +171,9 @@ namespace OpenSim.Region.Environment.Modules
|
||||
double dis = 0;
|
||||
|
||||
if (source != null)
|
||||
dis = sPart.AbsolutePosition.GetDistanceTo(source.AbsolutePosition);
|
||||
dis = Util.GetDistanceTo(sPart.AbsolutePosition, source.AbsolutePosition);
|
||||
else
|
||||
dis = sPart.AbsolutePosition.GetDistanceTo(avatar.AbsolutePosition);
|
||||
dis = Util.GetDistanceTo(sPart.AbsolutePosition, avatar.AbsolutePosition);
|
||||
|
||||
switch (type)
|
||||
{
|
||||
@@ -490,4 +490,4 @@ namespace OpenSim.Region.Environment.Modules
|
||||
return m_id;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user