From e26169f0b083a4e13bf8f6af01b499149d2b03de Mon Sep 17 00:00:00 2001 From: Homer Horwitz Date: Sat, 15 Nov 2008 18:00:34 +0000 Subject: Mantis#2552: Thanks idb, for a patch that fixes persistence of physical prims. (added a fix for the broken build from last commit, too) --- OpenSim/Data/MSSQL/MSSQLRegionData.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'OpenSim/Data/MSSQL') diff --git a/OpenSim/Data/MSSQL/MSSQLRegionData.cs b/OpenSim/Data/MSSQL/MSSQLRegionData.cs index 3669bdc..be50cc6 100644 --- a/OpenSim/Data/MSSQL/MSSQLRegionData.cs +++ b/OpenSim/Data/MSSQL/MSSQLRegionData.cs @@ -345,8 +345,7 @@ namespace OpenSim.Data.MSSQL foreach (SceneObjectPart prim in obj.Children.Values) { - if ((prim.GetEffectiveObjectFlags() & (uint)PrimFlags.Physics) == 0 - && (prim.GetEffectiveObjectFlags() & (uint)PrimFlags.Temporary) == 0 + if ((prim.GetEffectiveObjectFlags() & (uint)PrimFlags.Temporary) == 0 && (prim.GetEffectiveObjectFlags() & (uint)PrimFlags.TemporaryOnRez) == 0) { -- cgit v1.1