aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/ScenePresence.cs
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-03-14 16:28:33 +0000
committerJustin Clarke Casey2008-03-14 16:28:33 +0000
commitdc84f350a763b3c5ba5a5b8ad173fde3867f24f4 (patch)
tree1953d18633bf3a3edc46fb6914914c555958217e /OpenSim/Region/Environment/Scenes/ScenePresence.cs
parent* You can leave godmode if you want now. (diff)
downloadopensim-SC_OLD-dc84f350a763b3c5ba5a5b8ad173fde3867f24f4.zip
opensim-SC_OLD-dc84f350a763b3c5ba5a5b8ad173fde3867f24f4.tar.gz
opensim-SC_OLD-dc84f350a763b3c5ba5a5b8ad173fde3867f24f4.tar.bz2
opensim-SC_OLD-dc84f350a763b3c5ba5a5b8ad173fde3867f24f4.tar.xz
* As yet incomplete fix for mantis #766 - terse updates broken
* Currently, terse updates are back, and extremely rapid linking and delinking will only break occasionally * More work to do here
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/ScenePresence.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/ScenePresence.cs10
1 files changed, 9 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Scenes/ScenePresence.cs b/OpenSim/Region/Environment/Scenes/ScenePresence.cs
index fb0e836..44d2316 100644
--- a/OpenSim/Region/Environment/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Environment/Scenes/ScenePresence.cs
@@ -479,8 +479,12 @@ namespace OpenSim.Region.Environment.Scenes
479 // 479 //
480 // If we don't do this, various events (such as linking and delinking in the same 480 // If we don't do this, various events (such as linking and delinking in the same
481 // second), will stop working properly! 481 // second), will stop working properly!
482 if (update.LastFullUpdateTime <= part.TimeStampFull) 482 if (update.LastFullUpdateTime < part.TimeStampFull)
483 { 483 {
484// m_log.DebugFormat(
485// "[SCENE PRESENCE]: Fully updating prim {0}, {1} - part timestamp {2}",
486// part.Name, part.UUID, part.TimeStampFull);
487
484 //need to do a full update 488 //need to do a full update
485 part.SendFullUpdate(ControllingClient, GenerateClientFlags(part.UUID)); 489 part.SendFullUpdate(ControllingClient, GenerateClientFlags(part.UUID));
486 490
@@ -494,6 +498,10 @@ namespace OpenSim.Region.Environment.Scenes
494 } 498 }
495 else if (update.LastTerseUpdateTime <= part.TimeStampTerse) 499 else if (update.LastTerseUpdateTime <= part.TimeStampTerse)
496 { 500 {
501// m_log.DebugFormat(
502// "[SCENE PRESENCE]: Tersely updating prim {0}, {1} - part timestamp {2}",
503// part.Name, part.UUID, part.TimeStampTerse);
504
497 part.SendTerseUpdate(ControllingClient); 505 part.SendTerseUpdate(ControllingClient);
498 506
499 update.LastTerseUpdateTime = part.TimeStampTerse; 507 update.LastTerseUpdateTime = part.TimeStampTerse;