diff --git a/interface/src/Application.cpp b/interface/src/Application.cpp index 1c9ec94dc4..82cbaf93c2 100644 --- a/interface/src/Application.cpp +++ b/interface/src/Application.cpp @@ -3049,17 +3049,20 @@ bool Application::exportEntities(const QString& filename, const QVector entities; QVector ids; auto entityTree = getEntities()->getTree(); entityTree->withReadLock([&] { - entityTree->findEntities(AACube(offset, scale), entities); + entityTree->findEntities(boundingCube, entities); foreach(EntityItemPointer entity, entities) { ids << entity->getEntityItemID(); } }); - return exportEntities(filename, ids, &offset); + return exportEntities(filename, ids, ¢er); } void Application::loadSettings() {