mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-18 20:28:01 -06:00
Merge branch '3.3'
This commit is contained in:
commit
efdccb593f
3 changed files with 12 additions and 8 deletions
|
@ -302,13 +302,6 @@ class MachineManager(QObject):
|
|||
|
||||
## Given a global_stack, make sure that it's all valid by searching for this quality group and applying it again
|
||||
def _initMachineState(self, global_stack):
|
||||
# Some stacks can have empty definition_changes containers which will cause problems.
|
||||
# Make sure that all stacks here have non-empty definition_changes containers.
|
||||
for stack in [global_stack] + list(global_stack.extruders.values()):
|
||||
if isinstance(stack.definitionChanges, type(self._empty_container)):
|
||||
from cura.Settings.CuraStackBuilder import CuraStackBuilder
|
||||
CuraStackBuilder.createDefinitionChangesContainer(stack, stack.getId() + "_settings")
|
||||
|
||||
material_dict = {}
|
||||
for position, extruder in global_stack.extruders.items():
|
||||
material_dict[position] = extruder.material.getMetaDataEntry("base_file")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue