Skip to content
Snippets Groups Projects
Commit fc03402c authored by Fabian Tërnava's avatar Fabian Tërnava
Browse files

fix error when moving a temporary

parent c815180a
No related branches found
No related tags found
1 merge request!326Allow loading of LTM exports to the Viewer, although the memory servers have not been started
......@@ -162,7 +162,7 @@ namespace armarx::armem::gui::disk
}
}
// TODO: Only add data that matchs query?
// TODO: Only add data that matches query?
// We use LTM as query target for the disk
// armem::client::QueryInput queryInput = _queryInput;
// queryInput.addQueryTargetToAll(armem::query::data::QueryTarget::LTM);
......@@ -173,8 +173,8 @@ namespace armarx::armem::gui::disk
if (std::filesystem::is_directory(p))
{
armem::server::ltm::disk::Memory ltm(p.parent_path(), p.filename());
armem::wm::Memory memory = ltm.loadAllAndResolve(); // load list of references
memoryData[memory.name()] = std::move(memory);
armem::wm::Memory memory = ltm.loadAllAndResolve(); // load list of references and load data
memoryData[p] = memory;
numLoaded++;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment