From 7e731b024aa5163ece543cdc4fb1d1d2f84d0653 Mon Sep 17 00:00:00 2001 From: Homer Horwitz Date: Tue, 5 May 2009 19:44:19 +0000 Subject: Allow temp-on-rez prims to take part in physics (e.g. temp-on-rez bullets) This makes re-rezzed temp-on-rez objects visible, too. Fixes Mantis #3405 --- OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'OpenSim/Region/Framework/Scenes') diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs index 6dc331b..99e6e1e 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs @@ -1845,8 +1845,9 @@ namespace OpenSim.Region.Framework.Scenes if (m_rootPart == null) return; - if ((RootPart.Flags & PrimFlags.TemporaryOnRez) != 0) - return; + // Even temporary objects take part in physics (e.g. temp-on-rez bullets) + //if ((RootPart.Flags & PrimFlags.TemporaryOnRez) != 0) + // return; lock (m_parts) { -- cgit v1.1