diff options
author | Teravus Ovares | 2007-11-16 08:52:03 +0000 |
---|---|---|
committer | Teravus Ovares | 2007-11-16 08:52:03 +0000 |
commit | 9020ec5af935a968f6dda4d15486298450c7aec9 (patch) | |
tree | b627afe17315145855d83523b6b704d363b764d0 /OpenSim/Region/Environment | |
parent | added libs for ode and openjpeg for intel mac osx to bin (diff) | |
download | opensim-SC_OLD-9020ec5af935a968f6dda4d15486298450c7aec9.zip opensim-SC_OLD-9020ec5af935a968f6dda4d15486298450c7aec9.tar.gz opensim-SC_OLD-9020ec5af935a968f6dda4d15486298450c7aec9.tar.bz2 opensim-SC_OLD-9020ec5af935a968f6dda4d15486298450c7aec9.tar.xz |
* Fixed object edit movements causing full object updates instead of terse object updates since unlinking.
Diffstat (limited to 'OpenSim/Region/Environment')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/ScenePresence.cs | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Scenes/ScenePresence.cs b/OpenSim/Region/Environment/Scenes/ScenePresence.cs index 2dae36c..caef883 100644 --- a/OpenSim/Region/Environment/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Environment/Scenes/ScenePresence.cs | |||
@@ -336,7 +336,13 @@ namespace OpenSim.Region.Environment.Scenes | |||
336 | // since our timestamp resolution is to the nearest second). The first | 336 | // since our timestamp resolution is to the nearest second). The first |
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 | if (update.LastFullUpdateTime <= part.TimeStampFull) | 339 | |
340 | // after object un-linking was introduced, this broke and needs fixing | ||
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 | |||
345 | if (update.LastFullUpdateTime < part.TimeStampFull && !((part.ObjectFlags & (uint) LLObject.ObjectFlags.Physics) !=0 )) | ||
340 | { | 346 | { |
341 | //need to do a full update | 347 | //need to do a full update |
342 | part.SendFullUpdate(ControllingClient); | 348 | part.SendFullUpdate(ControllingClient); |