From a4f91e50643391ab02a56e5b400797c81c913e92 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Sat, 19 Dec 2015 19:49:27 +0000 Subject: [PATCH] do not change a attachment phatom state on crossings --- OpenSim/Region/Framework/Scenes/Scene.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index 1ccba4b73f..a7e06a8feb 100755 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs @@ -3037,7 +3037,7 @@ namespace OpenSim.Region.Framework.Scenes if (sceneObject.IsAttachmentCheckFull()) // Attachment { sceneObject.RootPart.AddFlag(PrimFlags.TemporaryOnRez); - sceneObject.RootPart.AddFlag(PrimFlags.Phantom); +// sceneObject.RootPart.AddFlag(PrimFlags.Phantom); // Don't sent a full update here because this will cause full updates to be sent twice for // attachments on region crossings, resulting in viewer glitches. @@ -3069,8 +3069,8 @@ namespace OpenSim.Region.Framework.Scenes else { m_log.DebugFormat("[SCENE]: Attachment {0} arrived and scene presence was not found, setting to temp", sceneObject.UUID); - RootPrim.RemFlag(PrimFlags.TemporaryOnRez); - RootPrim.AddFlag(PrimFlags.TemporaryOnRez); +// RootPrim.RemFlag(PrimFlags.TemporaryOnRez); +// RootPrim.AddFlag(PrimFlags.TemporaryOnRez); } if (sceneObject.OwnerID == UUID.Zero) {