Merge branch 'master' of git://github.com/AlericInglewood/SingularityViewer

This commit is contained in:
Inusaito Sayori
2014-10-01 20:30:51 -04:00

View File

@@ -171,7 +171,9 @@ void AIArchetype::toXML(std::ostream& os, int indentation) const
{
tag.attribute("name", LLWearableType::getTypeName(mType));
}
if (!mMetaData.mPath.empty())
// mMetaData.mPath can be empty even exporting from the Appearance editor:
// when the asset is in the "My Inventory" root.
if (!mMetaData.mPath.empty() || !mMetaData.mName.empty()) // Is this not an old-style linden_genepool?
{
tag.child(mMetaData);
}