Fix different strategies for machine and quality in project loading

CURA-4839
This commit is contained in:
Lipu Fei 2018-01-23 10:58:43 +01:00
parent c0bce6ffd4
commit 1c605a5108
4 changed files with 41 additions and 19 deletions

View file

@ -504,7 +504,6 @@ class ExtruderManager(QObject):
## Updates the material container to a material that matches the material diameter set for the printer
def updateMaterialForDiameter(self, extruder_position: int):
global_stack = Application.getInstance().getGlobalContainerStack()
if not global_stack:
return