aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/InventoryItemBase.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework/InventoryItemBase.cs')
-rw-r--r--OpenSim/Framework/InventoryItemBase.cs14
1 files changed, 5 insertions, 9 deletions
diff --git a/OpenSim/Framework/InventoryItemBase.cs b/OpenSim/Framework/InventoryItemBase.cs
index d14ce23..2968712 100644
--- a/OpenSim/Framework/InventoryItemBase.cs
+++ b/OpenSim/Framework/InventoryItemBase.cs
@@ -84,8 +84,8 @@ namespace OpenSim.Framework
84 m_creatorId = value; 84 m_creatorId = value;
85 } 85 }
86 } 86 }
87 protected string m_creatorId;
88 87
88 protected string m_creatorId = UUID.Zero.ToString();
89 /// <value> 89 /// <value>
90 /// The creator of this item expressed as a UUID. Database plugins don't need to set this, it will be set by 90 /// The creator of this item expressed as a UUID. Database plugins don't need to set this, it will be set by
91 /// upstream code (or set by the get accessor if left unset). 91 /// upstream code (or set by the get accessor if left unset).
@@ -94,20 +94,16 @@ namespace OpenSim.Framework
94 { 94 {
95 get 95 get
96 { 96 {
97 if (UUID.Zero == m_creatorIdAsUuid) 97 UUID temp = UUID.Zero;
98 { 98 UUID.TryParse(CreatorId, out temp);
99 UUID.TryParse(CreatorId, out m_creatorIdAsUuid); 99 return temp;
100 }
101
102 return m_creatorIdAsUuid;
103 } 100 }
104 101
105 set 102 set
106 { 103 {
107 m_creatorIdAsUuid = value; 104 CreatorId = value.ToString();
108 } 105 }
109 } 106 }
110 protected UUID m_creatorIdAsUuid = UUID.Zero;
111 107
112 /// <value> 108 /// <value>
113 /// The description of the inventory item (must be less than 64 characters) 109 /// The description of the inventory item (must be less than 64 characters)