mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 18:55:58 +08:00
Plumb a code path for the entity transfer module to ask a destination scene
whether or not an agent is allowed there as a root agent.
This commit is contained in:
@@ -4953,5 +4953,16 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
DeleteSceneObject(grp, true);
|
||||
}
|
||||
}
|
||||
|
||||
// This method is called across the simulation connector to
|
||||
// determine if a given agent is allowed in this region
|
||||
// AS A ROOT AGENT. Returning false here will prevent them
|
||||
// from logging into the region, teleporting into the region
|
||||
// or corssing the broder walking, but will NOT prevent
|
||||
// child agent creation, thereby emulating the SL behavior.
|
||||
public bool QueryAccess(UUID agentID)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user