mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 07:03:56 -06:00
ctrl+z for grid
CURA-7951
This commit is contained in:
parent
719b11655c
commit
1591a2a0c3
2 changed files with 3 additions and 2 deletions
|
@ -67,7 +67,8 @@ class GridArrange(Arranger):
|
|||
grouped_operation = GroupedOperation()
|
||||
|
||||
for grid_id, node in zip(sequence, self._nodes_to_arrange):
|
||||
grouped_operation.addOperation(AddSceneNodeOperation(node, scene_root))
|
||||
if add_new_nodes_in_scene:
|
||||
grouped_operation.addOperation(AddSceneNodeOperation(node, scene_root))
|
||||
grid_x, grid_y = grid_id
|
||||
operation = self.moveNodeOnGrid(node, grid_x, grid_y)
|
||||
grouped_operation.addOperation(operation)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue