summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeth ProductEngine <slitovchuk@productengine.com>2012-08-02 22:49:42 +0300
committerSeth ProductEngine <slitovchuk@productengine.com>2012-08-02 22:49:42 +0300
commit4e7c2c6942b6169812459f19cb13c9f4101dcaf1 (patch)
tree92e22acb7a37d8febbc622be2c185d564d1bba02
parent1728eca264b39822801d9bb6cdfdf56944081852 (diff)
CHUI-228 FIX Inventory object creation date initialized with 0 to avoid some folders reporting wrong creation date.
-rw-r--r--indra/llinventory/llinventory.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/indra/llinventory/llinventory.cpp b/indra/llinventory/llinventory.cpp
index 6e54f9d78a..a80ae73dca 100644
--- a/indra/llinventory/llinventory.cpp
+++ b/indra/llinventory/llinventory.cpp
@@ -75,13 +75,15 @@ LLInventoryObject::LLInventoryObject(const LLUUID& uuid,
mUUID(uuid),
mParentUUID(parent_uuid),
mType(type),
- mName(name)
+ mName(name),
+ mCreationDate(0)
{
correctInventoryName(mName);
}
LLInventoryObject::LLInventoryObject() :
- mType(LLAssetType::AT_NONE)
+ mType(LLAssetType::AT_NONE),
+ mCreationDate(0)
{
}