remap IDs on export, also

This commit is contained in:
Seth Alves 2015-12-07 05:41:34 -08:00
parent 96e9580473
commit f53571ac81

View file

@ -2414,6 +2414,9 @@ bool Application::exportEntities(const QString& filename, const QVector<EntityIt
exportTree->addEntity(entityItem->getEntityItemID(), properties);
}
// remap IDs on export so that we aren't publishing the IDs of entities in our domain
exportTree->remapIDs();
exportTree->writeToJSONFile(filename.toLocal8Bit().constData());
// restore the main window's active state