mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 17:05:55 +08:00
* Store task inventory when an object is taken into agent inventory
* This means that you can take an object from a region and rez it somewhere else, with its inventory intact. * As for earlier, at this stage only scripts can be placed in inventory * This isn't an efficient implementation, a better one will probably need to come along soonish
This commit is contained in:
@@ -991,6 +991,19 @@ namespace OpenSim.Region.Environment.Scenes
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
/// <summary>
|
||||
/// Reset LLUUIDs for this part. This involves generate this part's own LLUUID and
|
||||
/// generating new LLUUIDs for all the items in the inventory.
|
||||
/// </summary>
|
||||
/// <param name="linkNum'>Link number for the part</param>
|
||||
public void ResetIDs(int linkNum)
|
||||
{
|
||||
UUID = LLUUID.Random();
|
||||
LinkNum = linkNum;
|
||||
|
||||
ResetInventoryIDs();
|
||||
}
|
||||
|
||||
#region Update Scheduling
|
||||
|
||||
|
||||
Reference in New Issue
Block a user