Better path to packages.json in the 3MF file

Let's put it in the Cura directory with the rest of such files, as to not muddy the 3MF file with all sorts of directories that are not known to other consumers.

Contributes to issue CURA-9413.
This commit is contained in:
Ghostkeeper 2022-06-20 11:04:14 +02:00
parent d1747e09e1
commit 8970f46154
No known key found for this signature in database
GPG key ID: 68F39EA88EEED5FF
2 changed files with 3 additions and 3 deletions

View file

@ -41,7 +41,7 @@ catalog = i18nCatalog("cura")
THUMBNAIL_PATH = "Metadata/thumbnail.png"
MODEL_PATH = "3D/3dmodel.model"
PACKAGE_METADATA_PATH = "Metadata/packages.json"
PACKAGE_METADATA_PATH = "Cura/packages.json"
class ThreeMFWriter(MeshWriter):
def __init__(self):