diff options
-rw-r--r-- | OpenSim/Grid/UserServer.Modules/AvatarCreationModule.cs | 5 |
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) |