Hopefully undid the murder I committed in the last commit
parent
d5406fe773
commit
2180bdf64a
|
@ -144,7 +144,9 @@ namespace OpenSim
|
||||||
|
|
||||||
public void CrossSimBorder(LLVector3 avatarpos)
|
public void CrossSimBorder(LLVector3 avatarpos)
|
||||||
{ // VERY VERY BASIC
|
{ // VERY VERY BASIC
|
||||||
LLVector3 newpos = this.m_regionData.RegionLocX;
|
|
||||||
|
LLVector3 newpos = avatarpos;
|
||||||
|
uint neighbourx = this.m_regionData.RegionLocX;
|
||||||
uint neighboury = this.m_regionData.RegionLocY;
|
uint neighboury = this.m_regionData.RegionLocY;
|
||||||
|
|
||||||
if (avatarpos.X < 0)
|
if (avatarpos.X < 0)
|
||||||
|
|
|
@ -371,7 +371,8 @@ namespace OpenSim.world
|
||||||
OpenSim.Framework.Console.MainConsole.Instance.WriteLine("World.cs:AddViewerAgent() - Adding new avatar to world");
|
OpenSim.Framework.Console.MainConsole.Instance.WriteLine("World.cs:AddViewerAgent() - Adding new avatar to world");
|
||||||
OpenSim.Framework.Console.MainConsole.Instance.WriteLine("World.cs:AddViewerAgent() - Starting RegionHandshake ");
|
OpenSim.Framework.Console.MainConsole.Instance.WriteLine("World.cs:AddViewerAgent() - Starting RegionHandshake ");
|
||||||
newAvatar.SendRegionHandshake(this);
|
newAvatar.SendRegionHandshake(this);
|
||||||
if(!agentClient.m_child) {
|
if (!agentClient.m_child)
|
||||||
|
{
|
||||||
PhysicsVector pVec = new PhysicsVector(newAvatar.Pos.X, newAvatar.Pos.Y, newAvatar.Pos.Z);
|
PhysicsVector pVec = new PhysicsVector(newAvatar.Pos.X, newAvatar.Pos.Y, newAvatar.Pos.Z);
|
||||||
lock (this.LockPhysicsEngine)
|
lock (this.LockPhysicsEngine)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue