aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/MSSQL
diff options
context:
space:
mode:
authorHomer Horwitz2008-11-15 18:00:34 +0000
committerHomer Horwitz2008-11-15 18:00:34 +0000
commite26169f0b083a4e13bf8f6af01b499149d2b03de (patch)
tree75b3e66700306675e03b25e30c6f1e47f5d756d5 /OpenSim/Data/MSSQL
parentMantis #2621: Thanks idb, for a patch that will persist regularily changed ob... (diff)
downloadopensim-SC_OLD-e26169f0b083a4e13bf8f6af01b499149d2b03de.zip
opensim-SC_OLD-e26169f0b083a4e13bf8f6af01b499149d2b03de.tar.gz
opensim-SC_OLD-e26169f0b083a4e13bf8f6af01b499149d2b03de.tar.bz2
opensim-SC_OLD-e26169f0b083a4e13bf8f6af01b499149d2b03de.tar.xz
Mantis#2552: Thanks idb, for a patch that fixes persistence of physical prims.
(added a fix for the broken build from last commit, too)
Diffstat (limited to '')
-rw-r--r--OpenSim/Data/MSSQL/MSSQLRegionData.cs3
1 files changed, 1 insertions, 2 deletions
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
345 345
346 foreach (SceneObjectPart prim in obj.Children.Values) 346 foreach (SceneObjectPart prim in obj.Children.Values)
347 { 347 {
348 if ((prim.GetEffectiveObjectFlags() & (uint)PrimFlags.Physics) == 0 348 if ((prim.GetEffectiveObjectFlags() & (uint)PrimFlags.Temporary) == 0
349 && (prim.GetEffectiveObjectFlags() & (uint)PrimFlags.Temporary) == 0
350 && (prim.GetEffectiveObjectFlags() & (uint)PrimFlags.TemporaryOnRez) == 0) 349 && (prim.GetEffectiveObjectFlags() & (uint)PrimFlags.TemporaryOnRez) == 0)
351 { 350 {
352 351