start sending terrain patchs in completmovement where we know its
position. Also reset camera to position on makerootavinationmerge
parent
0900f9dd7f
commit
4905c74ddf
|
@ -3030,7 +3030,7 @@ namespace OpenSim.Region.Framework.Scenes
|
|||
|
||||
public virtual void SubscribeToClientTerrainEvents(IClientAPI client)
|
||||
{
|
||||
client.OnRegionHandShakeReply += SendLayerData;
|
||||
// client.OnRegionHandShakeReply += SendLayerData;
|
||||
}
|
||||
|
||||
public virtual void SubscribeToClientPrimEvents(IClientAPI client)
|
||||
|
@ -3158,7 +3158,7 @@ namespace OpenSim.Region.Framework.Scenes
|
|||
|
||||
public virtual void UnSubscribeToClientTerrainEvents(IClientAPI client)
|
||||
{
|
||||
client.OnRegionHandShakeReply -= SendLayerData;
|
||||
// client.OnRegionHandShakeReply -= SendLayerData;
|
||||
}
|
||||
|
||||
public virtual void UnSubscribeToClientPrimEvents(IClientAPI client)
|
||||
|
|
|
@ -1198,6 +1198,8 @@ no information to check this
|
|||
}
|
||||
AbsolutePosition = pos;
|
||||
|
||||
// reset camera to avatar pos
|
||||
CameraPosition = pos;
|
||||
|
||||
if (m_teleportFlags == TeleportFlags.Default)
|
||||
{
|
||||
|
@ -1733,6 +1735,10 @@ no information to check this
|
|||
look = new Vector3(0.99f, 0.042f, 0);
|
||||
}
|
||||
|
||||
// start sending terrain patchs
|
||||
if (!isNPC)
|
||||
Scene.SendLayerData(ControllingClient);
|
||||
|
||||
if (!IsChildAgent && !isNPC)
|
||||
{
|
||||
InventoryFolderBase cof = m_scene.InventoryService.GetFolderForType(client.AgentId, (AssetType)46);
|
||||
|
|
Loading…
Reference in New Issue