From 36dd346a91a4dab41e7acb5edc1a8b62f32757bc Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Mon, 4 May 2009 14:25:19 +0000 Subject: Add a method to flush the prim update buffers once a frame, since the timer appear to be too slow to be useful, or fail too fire. I may remove the timers as a consequence if this. --- OpenSim/Region/Framework/Scenes/ScenePresence.cs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'OpenSim/Region/Framework') diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index 7e1063d..8fd4b47 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs @@ -840,6 +840,8 @@ namespace OpenSim.Region.Framework.Scenes } } + ControllingClient.FlushPrimUpdates(); + m_scene.StatsReporter.AddAgentTime(Environment.TickCount - m_perfMonMS); } -- cgit v1.1