*Added Estate Tools for terrain texturing, terrain texturing heights per corner, water height, region flags, etc basic settings

*Parcel now sends ParcelProperties when the owner changes information as soon as the information is changed
This commit is contained in:
mingchen
2007-06-08 03:54:03 +00:00
parent 5caf2faa24
commit 269ff893df
16 changed files with 520 additions and 291 deletions

View File

@@ -627,19 +627,18 @@ namespace OpenSim.RegionServer.Simulator
try
{
MainConsole.Instance.Notice("World.cs:AddViewerAgent() - Creating new avatar for remote viewer agent");
newAvatar = new Avatar(agentClient, this, m_regionName, m_clientThreads, m_regionHandle, true, 20);
newAvatar = new Avatar(agentClient, this);
MainConsole.Instance.Notice("World.cs:AddViewerAgent() - Adding new avatar to world");
MainConsole.Instance.Notice("World.cs:AddViewerAgent() - Starting RegionHandshake ");
newAvatar.SendRegionHandshake(this);
//if (!agentClient.m_child)
//{
estateManager.sendRegionHandshake(newAvatar.ControllingClient);
PhysicsVector pVec = new PhysicsVector(newAvatar.Pos.X, newAvatar.Pos.Y, newAvatar.Pos.Z);
lock (this.LockPhysicsEngine)
{
newAvatar.PhysActor = this.phyScene.AddAvatar(pVec);
}
// }
PhysicsVector pVec = new PhysicsVector(newAvatar.Pos.X, newAvatar.Pos.Y, newAvatar.Pos.Z);
lock (this.LockPhysicsEngine)
{
newAvatar.PhysActor = this.phyScene.AddAvatar(pVec);
}
lock (Entities)
{
if (!Entities.ContainsKey(agentClient.AgentID))