diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/ScenePresence.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index 045a450..cd5525c 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -1198,6 +1198,8 @@ no information to check this | |||
1198 | } | 1198 | } |
1199 | AbsolutePosition = pos; | 1199 | AbsolutePosition = pos; |
1200 | 1200 | ||
1201 | // reset camera to avatar pos | ||
1202 | CameraPosition = pos; | ||
1201 | 1203 | ||
1202 | if (m_teleportFlags == TeleportFlags.Default) | 1204 | if (m_teleportFlags == TeleportFlags.Default) |
1203 | { | 1205 | { |
@@ -1733,6 +1735,10 @@ no information to check this | |||
1733 | look = new Vector3(0.99f, 0.042f, 0); | 1735 | look = new Vector3(0.99f, 0.042f, 0); |
1734 | } | 1736 | } |
1735 | 1737 | ||
1738 | // start sending terrain patchs | ||
1739 | if (!isNPC) | ||
1740 | Scene.SendLayerData(ControllingClient); | ||
1741 | |||
1736 | if (!IsChildAgent && !isNPC) | 1742 | if (!IsChildAgent && !isNPC) |
1737 | { | 1743 | { |
1738 | InventoryFolderBase cof = m_scene.InventoryService.GetFolderForType(client.AgentId, (AssetType)46); | 1744 | InventoryFolderBase cof = m_scene.InventoryService.GetFolderForType(client.AgentId, (AssetType)46); |