Mesh: fixes #7018: 3mf created with FreeCAD cannot be loaded with PrusaSlicer

This commit is contained in:
wmayer
2022-06-14 14:31:31 +02:00
committed by wwmayer
parent d8ca3093d0
commit 79df90a45c

View File

@@ -2982,7 +2982,7 @@ void MeshOutput::SaveXML (Base::Writer &writer) const
bool MeshOutput::Save3MF(std::ostream &str) const
{
zipios::ZipOutputStream zip(str);
zip.putNextEntry("/3D/3dmodel.model");
zip.putNextEntry("3D/3dmodel.model");
if (!Save3MFModel(zip))
return false;
zip.closeEntry();