From 15da52d73aab37ba32447d317bab89baaceb38ba Mon Sep 17 00:00:00 2001 From: Melanie Date: Mon, 8 Nov 2010 19:00:03 +0100 Subject: Prevent temp-on-rez prims from being persisted --- OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'OpenSim') diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs index 93d223e..79f7162 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs @@ -1553,6 +1553,9 @@ namespace OpenSim.Region.Framework.Scenes return; } + if ((RootPart.Flags & PrimFlags.TemporaryOnRez) != 0) + return; + // Since this is the top of the section of call stack for backing up a particular scene object, don't let // any exception propogate upwards. try -- cgit v1.1