JustinCC is evil. f7b28dd3 broke script persistence. This fixes it.

This commit is contained in:
root
2010-09-16 23:12:32 +02:00
committed by Melanie
parent f5e3d5a33a
commit 1b2edfe75f
4 changed files with 40 additions and 1 deletions

View File

@@ -500,7 +500,7 @@ namespace OpenSim.Region.Framework.Scenes
// This is necessary so that TaskInventoryItem parent ids correctly reference the new uuid of this part
if (Inventory != null)
Inventory.ResetInventoryIDs();
Inventory.ResetObjectID();
}
}
@@ -2763,6 +2763,7 @@ namespace OpenSim.Region.Framework.Scenes
UUID = UUID.Random();
LinkNum = linkNum;
LocalId = 0;
Inventory.ResetInventoryIDs();
}
/// <summary>