aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Storage/OpenSim.DataStore.MonoSqlite/MonoSqliteDataStore.cs
diff options
context:
space:
mode:
authorCharles Krinke2007-11-05 04:33:06 +0000
committerCharles Krinke2007-11-05 04:33:06 +0000
commit7eff1572cbe4ca75d133361ebc7a3f59ac9b8016 (patch)
tree7b29eee7d4014c6f5f885be2ad9c491c785ed60c /OpenSim/Region/Storage/OpenSim.DataStore.MonoSqlite/MonoSqliteDataStore.cs
parentremoved duplicated BOMs (diff)
downloadopensim-SC_OLD-7eff1572cbe4ca75d133361ebc7a3f59ac9b8016.zip
opensim-SC_OLD-7eff1572cbe4ca75d133361ebc7a3f59ac9b8016.tar.gz
opensim-SC_OLD-7eff1572cbe4ca75d133361ebc7a3f59ac9b8016.tar.bz2
opensim-SC_OLD-7eff1572cbe4ca75d133361ebc7a3f59ac9b8016.tar.xz
Thank you, Teravus for: Solution for 'after using physical prim with MonoSqliteDataStore, the sim lags with constantly updating assets.". This mostly affects BulletX.
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}