mirror of
https://github.com/opensim/opensim.git
synced 2026-08-13 05:05:43 +08:00
Set a default creation date on inventory and task inventory items
This commit is contained in:
@@ -336,5 +336,10 @@ namespace OpenSim.Framework
|
||||
_itemID = UUID.Random();
|
||||
_parentPartID = partID;
|
||||
}
|
||||
|
||||
public TaskInventoryItem()
|
||||
{
|
||||
_creationDate = (uint)(DateTime.UtcNow - new DateTime(1970, 1, 1)).TotalSeconds;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user