aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Scene.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs
index 63cf9ce..c39cb2d 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -1705,6 +1705,8 @@ namespace OpenSim.Region.Framework.Scenes
1705 { 1705 {
1706 m_log.DebugFormat("[INTERREGION]: A new prim {0} arrived from a neighbor", primID); 1706 m_log.DebugFormat("[INTERREGION]: A new prim {0} arrived from a neighbor", primID);
1707 SceneObjectGroup sceneObject = m_serialiser.DeserializeGroupFromXml2(objXMLData); 1707 SceneObjectGroup sceneObject = m_serialiser.DeserializeGroupFromXml2(objXMLData);
1708 if (sceneObject.IsAttachment)
1709 sceneObject.RootPart.ObjectFlags |= (uint)PrimFlags.Phantom;
1708 1710
1709 return AddSceneObject(sceneObject); 1711 return AddSceneObject(sceneObject);
1710 } 1712 }
@@ -1842,6 +1844,7 @@ namespace OpenSim.Region.Framework.Scenes
1842 if (sceneObject.RootPart.Shape.State != 0) // Attachment 1844 if (sceneObject.RootPart.Shape.State != 0) // Attachment
1843 { 1845 {
1844 sceneObject.RootPart.AddFlag(PrimFlags.TemporaryOnRez); 1846 sceneObject.RootPart.AddFlag(PrimFlags.TemporaryOnRez);
1847 sceneObject.RootPart.AddFlag(PrimFlags.Phantom);
1845 1848
1846 AddRestoredSceneObject(sceneObject, false, false); 1849 AddRestoredSceneObject(sceneObject, false, false);
1847 1850