Merge branch 'master' into ubitworkmaster
commit
f37364b56f
|
@ -42,6 +42,7 @@ namespace OpenSim.Framework
|
|||
public Vector3 velVector = Vector3.Zero;
|
||||
public string nameStr = String.Empty;
|
||||
public int colliderType = 0;
|
||||
public int linkNumber;
|
||||
}
|
||||
|
||||
public class ColliderArgs : EventArgs
|
||||
|
|
|
@ -139,6 +139,14 @@ namespace OpenSim.Region.CoreModules.Framework
|
|||
{
|
||||
Caps oldCaps = m_capsObjects[circuitCode];
|
||||
|
||||
// Remove tge handlers. They may conflict with the
|
||||
// new object created below
|
||||
oldCaps.DeregisterHandlers();
|
||||
|
||||
// Better safe ... should not be needed but also
|
||||
// no big deal
|
||||
m_capsObjects.Remove(circuitCode);
|
||||
|
||||
// if (capsObjectPath == oldCaps.CapsObjectPath)
|
||||
// {
|
||||
// m_log.WarnFormat(
|
||||
|
|
|
@ -3988,6 +3988,12 @@ namespace OpenSim.Region.Framework.Scenes
|
|||
// We need the circuit data here for some of the subsequent checks. (groups, for example)
|
||||
// If the checks fail, we remove the circuit.
|
||||
acd.teleportFlags = teleportFlags;
|
||||
|
||||
// Remove any preexisting circuit - we don't want duplicates
|
||||
// This is a stab at preventing avatar "ghosting"
|
||||
if (vialogin)
|
||||
m_authenticateHandler.RemoveCircuit(acd.AgentID);
|
||||
|
||||
m_authenticateHandler.AddNewCircuit(acd.circuitcode, acd);
|
||||
|
||||
land = LandChannel.GetLandObject(acd.startpos.X, acd.startpos.Y);
|
||||
|
|
Loading…
Reference in New Issue