mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-23 22:54:01 -06:00
Added way to dynamicly set loading order
This is to ensure that Global stacks are loaded before extruders, so once the extruders are deseralized, they can always find the next (global) stack CURA-3497
This commit is contained in:
parent
58ab9dcd09
commit
8d80f20db7
2 changed files with 15 additions and 0 deletions
|
@ -40,6 +40,10 @@ class GlobalStack(CuraContainerStack):
|
|||
def extruders(self) -> list:
|
||||
return self._extruders
|
||||
|
||||
@classmethod
|
||||
def getLoadingPriority(cls) -> int:
|
||||
return 2
|
||||
|
||||
## Add an extruder to the list of extruders of this stack.
|
||||
#
|
||||
# \param extruder The extruder to add.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue