aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Storage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Storage/OpenSim.DataStore.MonoSqlite/MonoSqliteDataStore.cs13
1 files changed, 10 insertions, 3 deletions
diff --git a/OpenSim/Region/Storage/OpenSim.DataStore.MonoSqlite/MonoSqliteDataStore.cs b/OpenSim/Region/Storage/OpenSim.DataStore.MonoSqlite/MonoSqliteDataStore.cs
index 1b16a07..80c1a31 100644
--- a/OpenSim/Region/Storage/OpenSim.DataStore.MonoSqlite/MonoSqliteDataStore.cs
+++ b/OpenSim/Region/Storage/OpenSim.DataStore.MonoSqlite/MonoSqliteDataStore.cs
@@ -125,8 +125,15 @@ namespace OpenSim.DataStore.MonoSqlite
125 { 125 {
126 foreach (SceneObjectPart prim in obj.Children.Values) 126 foreach (SceneObjectPart prim in obj.Children.Values)
127 { 127 {
128 MainLog.Instance.Verbose("DATASTORE", "Adding obj: " + obj.UUID + " to region: " + regionUUID); 128 if ((prim.ObjectFlags & (uint)LLObject.ObjectFlags.Physics) == 0)
129 addPrim(prim, obj.UUID, regionUUID); 129 {
130 MainLog.Instance.Verbose("DATASTORE", "Adding obj: " + obj.UUID + " to region: " + regionUUID);
131 addPrim(prim, obj.UUID, regionUUID);
132 }
133 else
134 {
135 MainLog.Instance.Verbose("DATASTORE", "Ignoring Physical obj: " + obj.UUID + " in region: " + regionUUID);
136 }
130 } 137 }
131 } 138 }
132 139
@@ -1026,4 +1033,4 @@ namespace OpenSim.DataStore.MonoSqlite
1026 } 1033 }
1027 } 1034 }
1028 } 1035 }
1029} \ No newline at end of file 1036}