aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r--OpenSim/Framework/Data.SQLite/SQLiteInventoryStore.cs19
1 files changed, 13 insertions, 6 deletions
diff --git a/OpenSim/Framework/Data.SQLite/SQLiteInventoryStore.cs b/OpenSim/Framework/Data.SQLite/SQLiteInventoryStore.cs
index ba6038c..99fa740 100644
--- a/OpenSim/Framework/Data.SQLite/SQLiteInventoryStore.cs
+++ b/OpenSim/Framework/Data.SQLite/SQLiteInventoryStore.cs
@@ -275,12 +275,19 @@ namespace OpenSim.Framework.Data.SQLite
275 /// <returns>A class containing folder information</returns> 275 /// <returns>A class containing folder information</returns>
276 public InventoryFolderBase getInventoryFolder(LLUUID folder) 276 public InventoryFolderBase getInventoryFolder(LLUUID folder)
277 { 277 {
278 DataRow row = ds.Tables["inventoryfolders"].Rows.Find(folder); 278
279 if (row != null) { 279 // TODO: Deep voodoo here. If you enable this code then
280 return buildFolder(row); 280 // multi region breaks. No idea why, but I figured it was
281 } else { 281 // better to leave multi region at this point. It does mean
282 return null; 282 // that you don't get to see system textures why creating
283 } 283 // clothes and the like. :(
284
285 // DataRow row = ds.Tables["inventoryfolders"].Rows.Find(folder);
286 // if (row != null) {
287 // return buildFolder(row);
288 // } else {
289 return null;
290 // }
284 } 291 }
285 292
286 /// <summary> 293 /// <summary>