From ebb8111f6c414388e2877804295339550f6d0ce2 Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Mon, 4 May 2009 21:17:40 +0000 Subject: Fox the InventoryItem.CreatorIdAsUuid property --- OpenSim/Framework/InventoryItemBase.cs | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'OpenSim/Framework') diff --git a/OpenSim/Framework/InventoryItemBase.cs b/OpenSim/Framework/InventoryItemBase.cs index 29142af..fe1d306 100644 --- a/OpenSim/Framework/InventoryItemBase.cs +++ b/OpenSim/Framework/InventoryItemBase.cs @@ -67,7 +67,19 @@ namespace OpenSim.Framework /// /// The creator of this item expressed as a UUID /// - public UUID CreatorIdAsUuid { get; private set; } + public UUID CreatorIdAsUuid + { + get + { + UUID uuid = UUID.Zero; + UUID.TryParse(m_creatorId, out uuid); + return uuid; + } + private set + { + m_creatorId = value.ToString(); + } + } /// /// The description of the inventory item (must be less than 64 characters) -- cgit v1.1