mirror of
https://github.com/AleziaKurdis/overte.git
synced 2025-08-19 19:12:09 +02:00
remap IDs on export, also
This commit is contained in:
parent
96e9580473
commit
f53571ac81
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue