Fixed bug in AvatarCreationModule, where during the cloning of a folder it would report it was unsuccessful if the folder was empty.
parent
82dd4cf3c4
commit
e5e6f4c6df
|
@ -256,6 +256,11 @@ namespace OpenSim.Grid.UserServer.Modules
|
|||
}
|
||||
}
|
||||
}
|
||||
else if ((templateItems != null) && (templateItems.Count == 0))
|
||||
{
|
||||
// m_log.Info("[AvatarAppearance]Folder being cloned was empty");
|
||||
success = true;
|
||||
}
|
||||
|
||||
List<InventoryFolderBase> subFolders = FindSubFolders(templateFolder.ID.Guid, templateFolders);
|
||||
foreach (InventoryFolderBase subFolder in subFolders)
|
||||
|
|
Loading…
Reference in New Issue