diff options
author | Jaime van Kessel <nallath@gmail.com> | 2022-06-16 11:47:06 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-16 11:47:06 +0300 |
commit | ac32f3b62553de8a5acf75e1d45cbe54de846be3 (patch) | |
tree | 26749a3a2c34ad2594620ccda2817687332025b7 /plugins | |
parent | 8c92ebfccd4dabb1159d2269e2fe8c2a3fe1de7a (diff) | |
parent | 8c2ac9f21ebadd05d04a778027c44da343c6a342 (diff) |
Merge pull request #12530 from Ultimaker/CURA-8610_save_required_packages_metadata
[CURA-8610] save required packages metadata
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/3MFWriter/ThreeMFWriter.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/3MFWriter/ThreeMFWriter.py b/plugins/3MFWriter/ThreeMFWriter.py index 83007177c3..d17218c578 100644 --- a/plugins/3MFWriter/ThreeMFWriter.py +++ b/plugins/3MFWriter/ThreeMFWriter.py @@ -10,6 +10,7 @@ from UM.Logger import Logger from UM.Math.Matrix import Matrix from UM.Application import Application from UM.Message import Message +from UM.Resources import Resources from UM.Scene.SceneNode import SceneNode from cura.CuraApplication import CuraApplication @@ -276,6 +277,7 @@ class ThreeMFWriter(MeshWriter): if not package_data: # We failed to find the package for this material + message = Message(catalog.i18nc("@error:material", "It was not possible to store material package information in project file: {material}. This project may not open correctly on other systems.".format(material=extruder.getName())), title=catalog.i18nc("@info:title", "Failed to save material package information"), |