mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Avoid bool-trap
CURA-7951
This commit is contained in:
parent
afc1ba78f5
commit
586739c547
3 changed files with 6 additions and 5 deletions
|
@ -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()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue