* Fix for mantis #678
* Shift copied prims should now keep the script in both prims over region startups0.6.0-stable
parent
cdf27ece5f
commit
96ecb62197
|
@ -386,6 +386,9 @@ namespace OpenSim.Region.Environment.Scenes
|
|||
UpdateParentIDs();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Hooks this object up to the backup event so that it is persisted to the database when the update thread executes.
|
||||
/// </summary>
|
||||
private void AttachToBackup()
|
||||
{
|
||||
if (InSceneBackup)
|
||||
|
@ -550,7 +553,7 @@ namespace OpenSim.Region.Environment.Scenes
|
|||
#region Copying
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// Duplicates this object, including operations such as physics set up and attaching to the backup event.
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public SceneObjectGroup Copy(LLUUID cAgentID, LLUUID cGroupID)
|
||||
|
|
|
@ -90,13 +90,22 @@ namespace OpenSim.Region.Environment.Scenes
|
|||
|
||||
/// <summary>
|
||||
/// Reset LLUUIDs for all the items in the prim's inventory. This involves either generating
|
||||
/// new ones or setting existing UUIDs to the correct parent UUIDs
|
||||
/// new ones or setting existing UUIDs to the correct parent UUIDs.
|
||||
///
|
||||
/// If this method is called and there are inventory items, then we regard the inventory as having changed.
|
||||
/// </summary>
|
||||
/// <param name="linkNum">Link number for the part</param>
|
||||
public void ResetInventoryIDs()
|
||||
{
|
||||
lock (TaskInventory)
|
||||
{
|
||||
{
|
||||
if (0 == TaskInventory.Count)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
HasInventoryChanged = true;
|
||||
|
||||
IList<TaskInventoryItem> items = new List<TaskInventoryItem>(TaskInventory.Values);
|
||||
TaskInventory.Clear();
|
||||
|
||||
|
|
Loading…
Reference in New Issue