mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 15:25:58 +08:00
fixed addNodesToCheck function, wrong max index value
CURA-5570
This commit is contained in:
parent
57f04d8940
commit
033a00ec20
@ -271,7 +271,7 @@ class QualityManager(QObject):
|
||||
# the search list in the order described above. So, by iterating over that search node list, we first look
|
||||
# in the more specific branches and then the less specific (generic) ones.
|
||||
def addNodesToCheck(node, nodes_to_check_list, node_info_list, node_info_idx):
|
||||
if current_node_info_idx < len(node_info_list):
|
||||
if node_info_idx < len(node_info_list):
|
||||
node_name = node_info_list[node_info_idx]
|
||||
if node_name is not None:
|
||||
current_node = node.getChildNode(node_name)
|
||||
|
Loading…
x
Reference in New Issue
Block a user