diff options
author | Teravus Ovares (Dan Olivares) | 2009-11-22 22:05:26 -0500 |
---|---|---|
committer | Teravus Ovares (Dan Olivares) | 2009-11-22 22:05:26 -0500 |
commit | 94cb4b486a7c72841ccbcec403fc7b8c95c1249a (patch) | |
tree | 176ada6e4259c076ab6942b4c96538d868880281 /OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveReadRequest.cs | |
parent | * Adds a test for if the collision is at the bottom of the capsule on avatar.... (diff) | |
parent | Formatting cleanup. (diff) | |
download | opensim-SC_OLD-94cb4b486a7c72841ccbcec403fc7b8c95c1249a.zip opensim-SC_OLD-94cb4b486a7c72841ccbcec403fc7b8c95c1249a.tar.gz opensim-SC_OLD-94cb4b486a7c72841ccbcec403fc7b8c95c1249a.tar.bz2 opensim-SC_OLD-94cb4b486a7c72841ccbcec403fc7b8c95c1249a.tar.xz |
Merge branch 'master' of ssh://MyConnection/var/git/opensim
Diffstat (limited to 'OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveReadRequest.cs')
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveReadRequest.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveReadRequest.cs b/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveReadRequest.cs index aafcfa2..9e76d79 100644 --- a/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveReadRequest.cs +++ b/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveReadRequest.cs | |||
@@ -136,7 +136,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Inventory.Archiver | |||
136 | successfulAssetRestores); | 136 | successfulAssetRestores); |
137 | } | 137 | } |
138 | else if (filePath.StartsWith(ArchiveConstants.INVENTORY_PATH)) | 138 | else if (filePath.StartsWith(ArchiveConstants.INVENTORY_PATH)) |
139 | { | 139 | { |
140 | InventoryFolderBase foundFolder | 140 | InventoryFolderBase foundFolder |
141 | = ReplicateArchivePathToUserInventory( | 141 | = ReplicateArchivePathToUserInventory( |
142 | filePath, TarArchiveReader.TarEntryType.TYPE_DIRECTORY == entryType, | 142 | filePath, TarArchiveReader.TarEntryType.TYPE_DIRECTORY == entryType, |
@@ -254,7 +254,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Inventory.Archiver | |||
254 | 254 | ||
255 | string newFolderName = rawDirsToCreate[i].Remove(identicalNameIdentifierIndex); | 255 | string newFolderName = rawDirsToCreate[i].Remove(identicalNameIdentifierIndex); |
256 | 256 | ||
257 | newFolderName = InventoryArchiveUtils.UnescapeArchivePath(newFolderName); | 257 | newFolderName = InventoryArchiveUtils.UnescapeArchivePath(newFolderName); |
258 | UUID newFolderId = UUID.Random(); | 258 | UUID newFolderId = UUID.Random(); |
259 | 259 | ||
260 | // Asset type has to be Unknown here rather than Folder, otherwise the created folder can't be | 260 | // Asset type has to be Unknown here rather than Folder, otherwise the created folder can't be |
@@ -352,7 +352,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Inventory.Archiver | |||
352 | item.Folder = loadFolder.ID; | 352 | item.Folder = loadFolder.ID; |
353 | 353 | ||
354 | //m_userInfo.AddItem(item); | 354 | //m_userInfo.AddItem(item); |
355 | m_scene.InventoryService.AddItem(item); | 355 | m_scene.InventoryService.AddItem(item); |
356 | 356 | ||
357 | return item; | 357 | return item; |
358 | } | 358 | } |