mirror of
https://github.com/opensim/opensim.git
synced 2026-07-31 05:45:37 +08:00
Fixed bug in AvatarCreationModule, where during the cloning of a folder it would report it was unsuccessful if the folder was empty.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user