aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.Inventory.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
index 8634a3a..e003a59 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
@@ -2705,12 +2705,17 @@ namespace OpenSim.Region.Framework.Scenes
2705 return; 2705 return;
2706 } 2706 }
2707 2707
2708 bool oldUsePhysics = (root.Flags & PrimFlags.Physics) != 0;
2708 m_sceneGraph.LinkObjects(root, children); 2709 m_sceneGraph.LinkObjects(root, children);
2709 2710
2710 ScenePresence sp; 2711 ScenePresence sp;
2711 if (TryGetScenePresence(agentId, out sp)) 2712 if (TryGetScenePresence(agentId, out sp))
2712 { 2713 {
2713 root.SendPropertiesToClient(sp.ControllingClient); 2714 root.SendPropertiesToClient(sp.ControllingClient);
2715 if (oldUsePhysics && (root.Flags & PrimFlags.Physics) == 0)
2716 {
2717 sp.ControllingClient.SendAlertMessage("Object physics canceled");
2718 }
2714 } 2719 }
2715 } 2720 }
2716 2721