Avoid bool-trap

CURA-7951
This commit is contained in:
c.lamboo 2023-08-30 13:06:19 +02:00
parent afc1ba78f5
commit 586739c547
3 changed files with 6 additions and 5 deletions

View file

@ -124,7 +124,7 @@ class Nest2DArrange(Arranger):
return found_solution_for_all, node_items
def createGroupOperationForArrange(self, add_new_nodes_in_scene: bool = False) -> Tuple[GroupedOperation, int]:
def createGroupOperationForArrange(self, *, add_new_nodes_in_scene: bool = False) -> Tuple[GroupedOperation, int]:
scene_root = Application.getInstance().getController().getScene().getRoot()
found_solution_for_all, node_items = self.findNodePlacement()