diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/ScenePresence.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/ScenePresence.cs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/OpenSim/Region/Environment/Scenes/ScenePresence.cs b/OpenSim/Region/Environment/Scenes/ScenePresence.cs index 87fa5cf..67b375a 100644 --- a/OpenSim/Region/Environment/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Environment/Scenes/ScenePresence.cs | |||
@@ -337,12 +337,9 @@ namespace OpenSim.Region.Environment.Scenes | |||
337 | // could have been sent in the last update - we still need to send the | 337 | // could have been sent in the last update - we still need to send the |
338 | // second here. | 338 | // second here. |
339 | 339 | ||
340 | // after object un-linking was introduced, this broke and needs fixing | 340 | |
341 | // *all* object movements create a fullobjectupdate (which is bad) | ||
342 | // Physical objects do not need this bit of code, so lets make sure that they don't | ||
343 | // get updated and make matters worse until this gets fixed. | ||
344 | 341 | ||
345 | if (update.LastFullUpdateTime < part.TimeStampFull && !((part.ObjectFlags & (uint) LLObject.ObjectFlags.Physics) !=0 )) | 342 | if (update.LastFullUpdateTime < part.TimeStampFull) |
346 | { | 343 | { |
347 | //need to do a full update | 344 | //need to do a full update |
348 | part.SendFullUpdate(ControllingClient); | 345 | part.SendFullUpdate(ControllingClient); |
@@ -357,7 +354,10 @@ namespace OpenSim.Region.Environment.Scenes | |||
357 | } | 354 | } |
358 | else if (update.LastTerseUpdateTime <= part.TimeStampTerse) | 355 | else if (update.LastTerseUpdateTime <= part.TimeStampTerse) |
359 | { | 356 | { |
357 | |||
358 | |||
360 | part.SendTerseUpdate(ControllingClient); | 359 | part.SendTerseUpdate(ControllingClient); |
360 | |||
361 | update.LastTerseUpdateTime = part.TimeStampTerse; | 361 | update.LastTerseUpdateTime = part.TimeStampTerse; |
362 | updateCount++; | 362 | updateCount++; |
363 | } | 363 | } |