revert working getInventoryFolder function because this seems
to break multi region environments.afrisby
parent
d1df81c221
commit
1a10d4828a
|
@ -275,12 +275,19 @@ namespace OpenSim.Framework.Data.SQLite
|
||||||
/// <returns>A class containing folder information</returns>
|
/// <returns>A class containing folder information</returns>
|
||||||
public InventoryFolderBase getInventoryFolder(LLUUID folder)
|
public InventoryFolderBase getInventoryFolder(LLUUID folder)
|
||||||
{
|
{
|
||||||
DataRow row = ds.Tables["inventoryfolders"].Rows.Find(folder);
|
|
||||||
if (row != null) {
|
// TODO: Deep voodoo here. If you enable this code then
|
||||||
return buildFolder(row);
|
// multi region breaks. No idea why, but I figured it was
|
||||||
} else {
|
// better to leave multi region at this point. It does mean
|
||||||
return null;
|
// 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;
|
||||||
|
// }
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
Loading…
Reference in New Issue