diff options
author | Dan Lake | 2012-02-02 17:44:11 -0800 |
---|---|---|
committer | Dan Lake | 2012-02-02 17:44:11 -0800 |
commit | 3257dbe76dff0a1e5842cafc75e4c2d09278deab (patch) | |
tree | 7f7d1a58ca910d8acefbd3bee0c3d096a59d8a43 /OpenSim/Framework/TaskInventoryItem.cs | |
parent | ObjectAddedToScene event should be fired when duplicating objects (diff) | |
parent | Merge branch 'master' of melanie@opensimulator.org:/var/git/opensim (diff) | |
download | opensim-SC-3257dbe76dff0a1e5842cafc75e4c2d09278deab.zip opensim-SC-3257dbe76dff0a1e5842cafc75e4c2d09278deab.tar.gz opensim-SC-3257dbe76dff0a1e5842cafc75e4c2d09278deab.tar.bz2 opensim-SC-3257dbe76dff0a1e5842cafc75e4c2d09278deab.tar.xz |
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
Diffstat (limited to 'OpenSim/Framework/TaskInventoryItem.cs')
-rw-r--r-- | OpenSim/Framework/TaskInventoryItem.cs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/OpenSim/Framework/TaskInventoryItem.cs b/OpenSim/Framework/TaskInventoryItem.cs index ba2a306..d4bbbfb 100644 --- a/OpenSim/Framework/TaskInventoryItem.cs +++ b/OpenSim/Framework/TaskInventoryItem.cs | |||
@@ -65,6 +65,7 @@ namespace OpenSim.Framework | |||
65 | private int _permsMask; | 65 | private int _permsMask; |
66 | private int _type = 0; | 66 | private int _type = 0; |
67 | private UUID _oldID; | 67 | private UUID _oldID; |
68 | private UUID _loadedID = UUID.Zero; | ||
68 | 69 | ||
69 | private bool _ownerChanged = false; | 70 | private bool _ownerChanged = false; |
70 | 71 | ||
@@ -231,6 +232,15 @@ namespace OpenSim.Framework | |||
231 | } | 232 | } |
232 | } | 233 | } |
233 | 234 | ||
235 | public UUID LoadedItemID { | ||
236 | get { | ||
237 | return _loadedID; | ||
238 | } | ||
239 | set { | ||
240 | _loadedID = value; | ||
241 | } | ||
242 | } | ||
243 | |||
234 | public UUID LastOwnerID { | 244 | public UUID LastOwnerID { |
235 | get { | 245 | get { |
236 | return _lastOwnerID; | 246 | return _lastOwnerID; |
@@ -347,6 +357,7 @@ namespace OpenSim.Framework | |||
347 | /// <param name="partID">The new part ID to which this item belongs</param> | 357 | /// <param name="partID">The new part ID to which this item belongs</param> |
348 | public void ResetIDs(UUID partID) | 358 | public void ResetIDs(UUID partID) |
349 | { | 359 | { |
360 | LoadedItemID = OldItemID; | ||
350 | OldItemID = ItemID; | 361 | OldItemID = ItemID; |
351 | ItemID = UUID.Random(); | 362 | ItemID = UUID.Random(); |
352 | ParentPartID = partID; | 363 | ParentPartID = partID; |