diff options
author | lbsa71 | 2009-02-25 11:01:38 +0000 |
---|---|---|
committer | lbsa71 | 2009-02-25 11:01:38 +0000 |
commit | 41c883ea47105d04087fb173047b6cd7e17be40d (patch) | |
tree | 6a364760732d78c3cca79caf01973d5c34317684 /OpenSim/Data/SQLite/SQLiteRegionData.cs | |
parent | Allow /* C-style comments */ in LSL scripts. (diff) | |
download | opensim-SC-41c883ea47105d04087fb173047b6cd7e17be40d.zip opensim-SC-41c883ea47105d04087fb173047b6cd7e17be40d.tar.gz opensim-SC-41c883ea47105d04087fb173047b6cd7e17be40d.tar.bz2 opensim-SC-41c883ea47105d04087fb173047b6cd7e17be40d.tar.xz |
* Refactored SOP.FolderID weirdness by removing calls to empty setter. YEs, I do realize the setter has to be there for legacy reasons, but since the calls will never acually DO anyhting, I'm removing them.
* So, SOP.FolderID is actually a cruft field that should be removed.
Diffstat (limited to 'OpenSim/Data/SQLite/SQLiteRegionData.cs')
-rw-r--r-- | OpenSim/Data/SQLite/SQLiteRegionData.cs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/OpenSim/Data/SQLite/SQLiteRegionData.cs b/OpenSim/Data/SQLite/SQLiteRegionData.cs index 7ec4ceb..2d0f6d8 100644 --- a/OpenSim/Data/SQLite/SQLiteRegionData.cs +++ b/OpenSim/Data/SQLite/SQLiteRegionData.cs | |||
@@ -516,13 +516,6 @@ namespace OpenSim.Data.SQLite | |||
516 | } | 516 | } |
517 | 517 | ||
518 | prim.Inventory.RestoreInventoryItems(inventory); | 518 | prim.Inventory.RestoreInventoryItems(inventory); |
519 | |||
520 | // XXX A nasty little hack to recover the folder id for the prim (which is currently stored in | ||
521 | // every item). This data should really be stored in the prim table itself. | ||
522 | if (dbItemRows.Length > 0) | ||
523 | { | ||
524 | prim.FolderID = inventory[0].ParentID; | ||
525 | } | ||
526 | } | 519 | } |
527 | 520 | ||
528 | /// <summary> | 521 | /// <summary> |