aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
diff options
context:
space:
mode:
authorUbitUmarov2014-08-22 21:54:00 +0100
committerUbitUmarov2014-08-22 21:54:00 +0100
commit1aa335078a15b176215df963980fdb1141494324 (patch)
tree63a813025ecc3396991d3f99db8478466a52b44e /OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
parentsome cleanup ( well or not ) (diff)
downloadopensim-SC_OLD-1aa335078a15b176215df963980fdb1141494324.zip
opensim-SC_OLD-1aa335078a15b176215df963980fdb1141494324.tar.gz
opensim-SC_OLD-1aa335078a15b176215df963980fdb1141494324.tar.bz2
opensim-SC_OLD-1aa335078a15b176215df963980fdb1141494324.tar.xz
sop SendFullUpdate() goes by presence if it is a attachment
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectPart.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectPart.cs15
1 files changed, 14 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
index 0930820..6fbe732 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
@@ -3237,7 +3237,19 @@ namespace OpenSim.Region.Framework.Scenes
3237 3237
3238// m_log.DebugFormat( 3238// m_log.DebugFormat(
3239// "[SOG]: Sendinging part full update to {0} for {1} {2}", remoteClient.Name, part.Name, part.LocalId); 3239// "[SOG]: Sendinging part full update to {0} for {1} {2}", remoteClient.Name, part.Name, part.LocalId);
3240 3240
3241
3242 if (ParentGroup.IsAttachment)
3243 {
3244 ScenePresence sp = ParentGroup.Scene.GetScenePresence(ParentGroup.AttachedAvatar);
3245 if (sp != null)
3246 {
3247 sp.SendAttachmentUpdate(this, UpdateRequired.FULL);
3248 }
3249 }
3250
3251/* this does nothing
3252SendFullUpdateToClient(remoteClient, Position) ignores position parameter
3241 if (IsRoot) 3253 if (IsRoot)
3242 { 3254 {
3243 if (ParentGroup.IsAttachment) 3255 if (ParentGroup.IsAttachment)
@@ -3249,6 +3261,7 @@ namespace OpenSim.Region.Framework.Scenes
3249 SendFullUpdateToClient(remoteClient, AbsolutePosition); 3261 SendFullUpdateToClient(remoteClient, AbsolutePosition);
3250 } 3262 }
3251 } 3263 }
3264*/
3252 else 3265 else
3253 { 3266 {
3254 SendFullUpdateToClient(remoteClient); 3267 SendFullUpdateToClient(remoteClient);