diff options
author | Melanie | 2010-09-21 04:03:40 +0100 |
---|---|---|
committer | Melanie | 2010-09-21 04:03:40 +0100 |
commit | 41847e8fdf32994b5bd61699b490b90eb57a19a0 (patch) | |
tree | b14071e3324476c7b736b2d07f47ecfa520d8ee5 /OpenSim/Framework/TaskInventoryItem.cs | |
parent | Merge branch 'master' into careminster-presence-refactor (diff) | |
parent | Fix a typo (diff) | |
download | opensim-SC-41847e8fdf32994b5bd61699b490b90eb57a19a0.zip opensim-SC-41847e8fdf32994b5bd61699b490b90eb57a19a0.tar.gz opensim-SC-41847e8fdf32994b5bd61699b490b90eb57a19a0.tar.bz2 opensim-SC-41847e8fdf32994b5bd61699b490b90eb57a19a0.tar.xz |
Merge branch 'careminster-presence-refactor' of ssh://melanie@3dhosting.de/var/git/careminster into careminster-presence-refactor
Diffstat (limited to 'OpenSim/Framework/TaskInventoryItem.cs')
-rw-r--r-- | OpenSim/Framework/TaskInventoryItem.cs | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/OpenSim/Framework/TaskInventoryItem.cs b/OpenSim/Framework/TaskInventoryItem.cs index df5b936..883f61a 100644 --- a/OpenSim/Framework/TaskInventoryItem.cs +++ b/OpenSim/Framework/TaskInventoryItem.cs | |||
@@ -120,7 +120,7 @@ namespace OpenSim.Framework | |||
120 | private UUID _permsGranter; | 120 | private UUID _permsGranter; |
121 | private int _permsMask; | 121 | private int _permsMask; |
122 | private int _type = 0; | 122 | private int _type = 0; |
123 | private UUID _oldID; | 123 | private UUID _oldID = UUID.Zero; |
124 | 124 | ||
125 | private bool _ownerChanged = false; | 125 | private bool _ownerChanged = false; |
126 | 126 | ||
@@ -227,9 +227,6 @@ namespace OpenSim.Framework | |||
227 | get { | 227 | get { |
228 | return _oldID; | 228 | return _oldID; |
229 | } | 229 | } |
230 | set { | ||
231 | _oldID = value; | ||
232 | } | ||
233 | } | 230 | } |
234 | 231 | ||
235 | public UUID LastOwnerID { | 232 | public UUID LastOwnerID { |
@@ -348,7 +345,8 @@ namespace OpenSim.Framework | |||
348 | /// <param name="partID">The new part ID to which this item belongs</param> | 345 | /// <param name="partID">The new part ID to which this item belongs</param> |
349 | public void ResetIDs(UUID partID) | 346 | public void ResetIDs(UUID partID) |
350 | { | 347 | { |
351 | OldItemID = ItemID; | 348 | if (_oldID == UUID.Zero) |
349 | _oldID = ItemID; | ||
352 | ItemID = UUID.Random(); | 350 | ItemID = UUID.Random(); |
353 | ParentPartID = partID; | 351 | ParentPartID = partID; |
354 | ParentID = partID; | 352 | ParentID = partID; |