mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
Try to fix a IAR problem reported by nebadon, where save iar seems stuck forever.
This commit is contained in:
@@ -86,6 +86,10 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
/// <param name="assetUuids">The assets gathered</param>
|
||||
public void GatherAssetUuids(UUID assetUuid, AssetType assetType, IDictionary<UUID, AssetType> assetUuids)
|
||||
{
|
||||
// avoid infinite loops
|
||||
if (assetUuids.ContainsKey(assetUuid))
|
||||
return;
|
||||
|
||||
try
|
||||
{
|
||||
assetUuids[assetUuid] = assetType;
|
||||
|
||||
Reference in New Issue
Block a user