aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework
diff options
context:
space:
mode:
authorMelanie2010-09-19 22:53:05 +0200
committerMelanie2010-09-19 22:53:05 +0200
commit9cf8795ecf1a2f34f803babf318d9c1f394ee18b (patch)
tree07777eb9eef06e8a1556fa4283f8e54f5df9ba2c /OpenSim/Framework
parentOverwrite the core version of the string parsing method with ours (diff)
downloadopensim-SC_OLD-9cf8795ecf1a2f34f803babf318d9c1f394ee18b.zip
opensim-SC_OLD-9cf8795ecf1a2f34f803babf318d9c1f394ee18b.tar.gz
opensim-SC_OLD-9cf8795ecf1a2f34f803babf318d9c1f394ee18b.tar.bz2
opensim-SC_OLD-9cf8795ecf1a2f34f803babf318d9c1f394ee18b.tar.xz
Fix a merge artefact that broke script state persistence in XAttachments
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r--OpenSim/Framework/TaskInventoryItem.cs8
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;