WIP: Fix material lookup problems and update definition files

This commit is contained in:
Lipu Fei 2018-02-14 16:08:21 +01:00
parent 730cbb25bf
commit c469ebbf9f
19 changed files with 51 additions and 66 deletions

View file

@ -320,7 +320,7 @@ class QualityManager(QObject):
# No suitable quality found: not supported
Logger.log("d", "Cannot find quality with machine [%s], variant name [%s], and materials [%s].",
machine_definition_id, variant_name, ", ".join(root_material_id_list))
continue
else:
# In this case, we only have a specific material but NOT a variant
if has_material:
@ -332,7 +332,6 @@ class QualityManager(QObject):
# No suitable quality found: not supported
Logger.log("d", "Cannot find quality with machine [%s], variant name [%s], and materials [%s].",
machine_definition_id, variant_name, ", ".join(root_material_id_list))
continue
node_to_check = material_node
if not node_to_check: