mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
* More LSL changes (and fixing a compile warning)
* More attempted fixes for the phantom remoting bug.
This commit is contained in:
@@ -444,10 +444,17 @@ namespace OpenSim.Region.Communications.OGS1
|
||||
/// <returns></returns>
|
||||
public bool IncomingArrival(ulong regionHandle, LLUUID agentID, LLVector3 position)
|
||||
{
|
||||
if (this.listeners.ContainsKey(regionHandle))
|
||||
try
|
||||
{
|
||||
this.listeners[regionHandle].TriggerExpectAvatarCrossing(regionHandle, agentID, position);
|
||||
return true;
|
||||
if (this.listeners.ContainsKey(regionHandle))
|
||||
{
|
||||
this.listeners[regionHandle].TriggerExpectAvatarCrossing(regionHandle, agentID, position);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
catch (System.Runtime.Remoting.RemotingException e)
|
||||
{
|
||||
MainLog.Instance.Error("Remoting Error: Unable to connect to remote region.\n" + e.ToString());
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -136,7 +136,7 @@ namespace OpenSim.Region.Scripting
|
||||
public Key osAvatarOnSitTarget()
|
||||
{
|
||||
//TODO: Follow this as Children is chanced to be of type entity to support ScenePresences
|
||||
foreach (KeyValuePair<Key, Primitive> Child in Task.Children)
|
||||
foreach (KeyValuePair<Key, EntityBase> Child in Task.Children)
|
||||
{
|
||||
if (Child.Value is ScenePresence)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user