diff options
author | Brian McBee | 2007-12-15 04:57:14 +0000 |
---|---|---|
committer | Brian McBee | 2007-12-15 04:57:14 +0000 |
commit | 8a8c89a0f32b528bd588715bdbfc875c852e7187 (patch) | |
tree | b46cb20d03dfdb21a5cbdfa514a8e745070a3713 /OpenSim/Region/Communications | |
parent | Set svn:eol-style. Cleaned up set-eol-style.sh a bit. (diff) | |
download | opensim-SC-8a8c89a0f32b528bd588715bdbfc875c852e7187.zip opensim-SC-8a8c89a0f32b528bd588715bdbfc875c852e7187.tar.gz opensim-SC-8a8c89a0f32b528bd588715bdbfc875c852e7187.tar.bz2 opensim-SC-8a8c89a0f32b528bd588715bdbfc875c852e7187.tar.xz |
Grid Inventory feature upgrade: renaming folders should now be correct, subfolders work, moving folders works.
Tested only in MYSQL, but may work in MSSQL and sqlite.
Probably not working in standalone mode.
Diffstat (limited to 'OpenSim/Region/Communications')
-rw-r--r-- | OpenSim/Region/Communications/Local/LocalInventoryService.cs | 5 | ||||
-rw-r--r-- | OpenSim/Region/Communications/OGS1/OGS1InventoryService.cs | 10 |
2 files changed, 15 insertions, 0 deletions
diff --git a/OpenSim/Region/Communications/Local/LocalInventoryService.cs b/OpenSim/Region/Communications/Local/LocalInventoryService.cs index e82d267..08bd850 100644 --- a/OpenSim/Region/Communications/Local/LocalInventoryService.cs +++ b/OpenSim/Region/Communications/Local/LocalInventoryService.cs | |||
@@ -68,6 +68,11 @@ namespace OpenSim.Region.Communications.Local | |||
68 | AddFolder(folder); | 68 | AddFolder(folder); |
69 | } | 69 | } |
70 | 70 | ||
71 | public override void MoveExistingInventoryFolder(InventoryFolderBase folder) | ||
72 | { | ||
73 | MoveFolder(folder); | ||
74 | } | ||
75 | |||
71 | public override void AddNewInventoryItem(LLUUID userID, InventoryItemBase item) | 76 | public override void AddNewInventoryItem(LLUUID userID, InventoryItemBase item) |
72 | { | 77 | { |
73 | AddItem(item); | 78 | AddItem(item); |
diff --git a/OpenSim/Region/Communications/OGS1/OGS1InventoryService.cs b/OpenSim/Region/Communications/OGS1/OGS1InventoryService.cs index d45e150..4f5d9ab 100644 --- a/OpenSim/Region/Communications/OGS1/OGS1InventoryService.cs +++ b/OpenSim/Region/Communications/OGS1/OGS1InventoryService.cs | |||
@@ -126,6 +126,16 @@ namespace OpenSim.Region.Communications.OGS1 | |||
126 | } | 126 | } |
127 | } | 127 | } |
128 | 128 | ||
129 | public void MoveInventoryFolder(LLUUID userID, InventoryFolderBase folder) | ||
130 | { | ||
131 | try | ||
132 | { | ||
133 | RestObjectPoster.BeginPostObject<InventoryFolderBase>(_inventoryServerUrl + "/MoveFolder/", folder); | ||
134 | } | ||
135 | catch (Exception) | ||
136 | { | ||
137 | } | ||
138 | } | ||
129 | public void AddNewInventoryItem(LLUUID userID, InventoryItemBase item) | 139 | public void AddNewInventoryItem(LLUUID userID, InventoryItemBase item) |
130 | { | 140 | { |
131 | try | 141 | try |