When updating the CreatorId of an inventory item, automatically update the CreatorIdAsUuid field as well

Resolves http://opensimulator.org/mantis/view.php?id=6933
0.8.0.3
Oren Hurvitz 2013-10-22 09:45:18 +03:00
parent 5b2af7f99e
commit edc04d4184
1 changed files with 4 additions and 1 deletions

View File

@ -82,12 +82,15 @@ namespace OpenSim.Framework
set
{
m_creatorId = value;
if ((m_creatorId == null) || !UUID.TryParse(m_creatorId, out m_creatorIdAsUuid))
m_creatorIdAsUuid = UUID.Zero;
}
}
protected string m_creatorId;
/// <value>
/// The CreatorId expressed as a UUID.tely
/// The CreatorId expressed as a UUID.
/// </value>
public UUID CreatorIdAsUuid
{