diff options
author | Teravus Ovares | 2007-11-16 22:13:13 +0000 |
---|---|---|
committer | Teravus Ovares | 2007-11-16 22:13:13 +0000 |
commit | 5fd2fa687edd1a559ce2ed569308acdfa99bee65 (patch) | |
tree | cdf8c64b6aa07f19d3ac32f091264b3591ec8449 /OpenSim/Region/Environment/Scenes/ScenePresence.cs | |
parent | *Added the TimeDilation property to Scene (diff) | |
download | opensim-SC_OLD-5fd2fa687edd1a559ce2ed569308acdfa99bee65.zip opensim-SC_OLD-5fd2fa687edd1a559ce2ed569308acdfa99bee65.tar.gz opensim-SC_OLD-5fd2fa687edd1a559ce2ed569308acdfa99bee65.tar.bz2 opensim-SC_OLD-5fd2fa687edd1a559ce2ed569308acdfa99bee65.tar.xz |
* Resolved the situation where prim is loaded from storage and when pushed never stops.
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 | } |