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

This commit is contained in:
root
2010-09-16 23:12:32 +02:00
parent 512ded6eb5
commit a0c87b5af6
4 changed files with 40 additions and 1 deletions

View File

@@ -514,7 +514,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();
}
}
@@ -2800,6 +2800,7 @@ namespace OpenSim.Region.Framework.Scenes
UUID = UUID.Random();
LinkNum = linkNum;
LocalId = 0;
Inventory.ResetInventoryIDs();
}
/// <summary>