mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-12 01:07:52 -06:00
Add type metadata to Extruder/Global stack
For backward compatibility with old code that still checks for "type".
This commit is contained in:
parent
608e62e081
commit
433537a2f0
2 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue