From 1a10d4828a4f7ca09da7042301dd0dcfd906af8c Mon Sep 17 00:00:00 2001
From: Sean Dague
Date: Mon, 1 Oct 2007 08:17:43 +0000
Subject: revert working getInventoryFolder function because this seems to
break multi region environments.
---
OpenSim/Framework/Data.SQLite/SQLiteInventoryStore.cs | 19 +++++++++++++------
1 file changed, 13 insertions(+), 6 deletions(-)
(limited to 'OpenSim/Framework')
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
/// A class containing folder information
public InventoryFolderBase getInventoryFolder(LLUUID folder)
{
- DataRow row = ds.Tables["inventoryfolders"].Rows.Find(folder);
- if (row != null) {
- return buildFolder(row);
- } else {
- return null;
- }
+
+ // TODO: Deep voodoo here. If you enable this code then
+ // multi region breaks. No idea why, but I figured it was
+ // better to leave multi region at this point. It does mean
+ // that you don't get to see system textures why creating
+ // clothes and the like. :(
+
+ // DataRow row = ds.Tables["inventoryfolders"].Rows.Find(folder);
+ // if (row != null) {
+ // return buildFolder(row);
+ // } else {
+ return null;
+ // }
}
///
--
cgit v1.1