mirror of
https://github.com/opensim/opensim.git
synced 2026-08-13 05:05:43 +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>
|
/// <param name="assetUuids">The assets gathered</param>
|
||||||
public void GatherAssetUuids(UUID assetUuid, AssetType assetType, IDictionary<UUID, AssetType> assetUuids)
|
public void GatherAssetUuids(UUID assetUuid, AssetType assetType, IDictionary<UUID, AssetType> assetUuids)
|
||||||
{
|
{
|
||||||
|
// avoid infinite loops
|
||||||
|
if (assetUuids.ContainsKey(assetUuid))
|
||||||
|
return;
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
assetUuids[assetUuid] = assetType;
|
assetUuids[assetUuid] = assetType;
|
||||||
|
|||||||
Reference in New Issue
Block a user