mirror of
https://github.com/opensim/opensim.git
synced 2026-07-31 05:45:37 +08:00
When updating the CreatorId of an inventory item, automatically update the CreatorIdAsUuid field as well
Resolves http://opensimulator.org/mantis/view.php?id=6933
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user