Add comment explaining workaround

CURA-11777
This commit is contained in:
c.lamboo 2024-05-15 17:49:44 +02:00
parent 33d95362c9
commit 21b8694289

View file

@ -160,6 +160,8 @@ class MakerbotWriter(MeshWriter):
nodes.append(node)
meta = dict()
# This is a bit of a "hack", the mime type should be passed through with the export writer but
# since this is not the case we get the mime type from the global stack instead
file_format = global_stack.definition.getMetaDataEntry("file_formats")
meta["bot_type"] = global_stack.definition.getMetaDataEntry("reference_machine_id")