remove meta files

This commit is contained in:
Georg Hagen
2024-10-07 10:20:05 +02:00
parent 28d756c9bf
commit 7321a920ba

View File

@@ -28,11 +28,6 @@ namespace OpenVulkano::AR
void ArFrame::SaveToFile(const std::filesystem::path& path, bool downsample) void ArFrame::SaveToFile(const std::filesystem::path& path, bool downsample)
{ {
m_session->GetRecorder().SaveToFile(shared_from_this(), path, downsample); m_session->GetRecorder().SaveToFile(shared_from_this(), path, downsample);
std::string metaContent = GetFrameMetadata().ToXML();
std::string metaPath = path.string() + std::string(".meta");
std::ofstream file (metaPath, std::ios::out);
file << metaContent;
file.close();
} }
const Scene::Texture* ArFrame::GetImageTexture() const Scene::Texture* ArFrame::GetImageTexture()