From 9020ec5af935a968f6dda4d15486298450c7aec9 Mon Sep 17 00:00:00 2001 From: Teravus Ovares Date: Fri, 16 Nov 2007 08:52:03 +0000 Subject: [PATCH] * Fixed object edit movements causing full object updates instead of terse object updates since unlinking. --- OpenSim/Region/Environment/Scenes/ScenePresence.cs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/OpenSim/Region/Environment/Scenes/ScenePresence.cs b/OpenSim/Region/Environment/Scenes/ScenePresence.cs index 2dae36cb0e..caef883510 100644 --- a/OpenSim/Region/Environment/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Environment/Scenes/ScenePresence.cs @@ -336,7 +336,13 @@ namespace OpenSim.Region.Environment.Scenes // since our timestamp resolution is to the nearest second). The first // could have been sent in the last update - we still need to send the // second here. - if (update.LastFullUpdateTime <= part.TimeStampFull) + + // after object un-linking was introduced, this broke and needs fixing + // *all* object movements create a fullobjectupdate (which is bad) + // Physical objects do not need this bit of code, so lets make sure that they don't + // get updated and make matters worse until this gets fixed. + + if (update.LastFullUpdateTime < part.TimeStampFull && !((part.ObjectFlags & (uint) LLObject.ObjectFlags.Physics) !=0 )) { //need to do a full update part.SendFullUpdate(ControllingClient);