diff --git a/cura/Settings/ExtruderStack.py b/cura/Settings/ExtruderStack.py index 91b1725c4f..74e2cf8897 100644 --- a/cura/Settings/ExtruderStack.py +++ b/cura/Settings/ExtruderStack.py @@ -18,6 +18,8 @@ class ExtruderStack(CuraContainerStack): def __init__(self, container_id, *args, **kwargs): super().__init__(container_id, *args, **kwargs) + self.addMetaDataEntry("type", "extruder_train") # For backward compatibility + @override(ContainerStack) def setNextStack(self, stack): super().setNextStack(stack) diff --git a/cura/Settings/GlobalStack.py b/cura/Settings/GlobalStack.py index 806c37040f..03758d2599 100644 --- a/cura/Settings/GlobalStack.py +++ b/cura/Settings/GlobalStack.py @@ -21,6 +21,8 @@ class GlobalStack(CuraContainerStack): def __init__(self, container_id: str, *args, **kwargs): super().__init__(container_id, *args, **kwargs) + self.addMetaDataEntry("type", "machine") # For backward compatibility + self._extruders = [] self._resolving_property = None