aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/ScenePresence.cs
diff options
context:
space:
mode:
authorUbitUmarov2015-08-31 14:08:32 +0100
committerUbitUmarov2015-08-31 14:08:32 +0100
commit4905c74ddffba50bb3e576c69fdc71c64cfcc3b8 (patch)
treee2451fe2dea0884ceb1e29b1aa9e7729a89513ab /OpenSim/Region/Framework/Scenes/ScenePresence.cs
parent fix slow moving physical objects moving without sending updates (diff)
downloadopensim-SC-4905c74ddffba50bb3e576c69fdc71c64cfcc3b8.zip
opensim-SC-4905c74ddffba50bb3e576c69fdc71c64cfcc3b8.tar.gz
opensim-SC-4905c74ddffba50bb3e576c69fdc71c64cfcc3b8.tar.bz2
opensim-SC-4905c74ddffba50bb3e576c69fdc71c64cfcc3b8.tar.xz
start sending terrain patchs in completmovement where we know its
position. Also reset camera to position on makeroot
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Framework/Scenes/ScenePresence.cs6
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);