aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorMW2009-07-12 21:02:57 +0000
committerMW2009-07-12 21:02:57 +0000
commite5e6f4c6dfd152383e559d10e318d51af0c8da08 (patch)
tree24af2d4788a0d444d9a34637631eee90820f31d5 /OpenSim
parentThank you kindly, Fly-Man for a patch that solves: (diff)
downloadopensim-SC-e5e6f4c6dfd152383e559d10e318d51af0c8da08.zip
opensim-SC-e5e6f4c6dfd152383e559d10e318d51af0c8da08.tar.gz
opensim-SC-e5e6f4c6dfd152383e559d10e318d51af0c8da08.tar.bz2
opensim-SC-e5e6f4c6dfd152383e559d10e318d51af0c8da08.tar.xz
Fixed bug in AvatarCreationModule, where during the cloning of a folder it would report it was unsuccessful if the folder was empty.
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Grid/UserServer.Modules/AvatarCreationModule.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Grid/UserServer.Modules/AvatarCreationModule.cs b/OpenSim/Grid/UserServer.Modules/AvatarCreationModule.cs
index c443203..923b06c 100644
--- a/OpenSim/Grid/UserServer.Modules/AvatarCreationModule.cs
+++ b/OpenSim/Grid/UserServer.Modules/AvatarCreationModule.cs
@@ -256,6 +256,11 @@ namespace OpenSim.Grid.UserServer.Modules
256 } 256 }
257 } 257 }
258 } 258 }
259 else if ((templateItems != null) && (templateItems.Count == 0))
260 {
261 // m_log.Info("[AvatarAppearance]Folder being cloned was empty");
262 success = true;
263 }
259 264
260 List<InventoryFolderBase> subFolders = FindSubFolders(templateFolder.ID.Guid, templateFolders); 265 List<InventoryFolderBase> subFolders = FindSubFolders(templateFolder.ID.Guid, templateFolders);
261 foreach (InventoryFolderBase subFolder in subFolders) 266 foreach (InventoryFolderBase subFolder in subFolders)