Browse Source

Push the grouped operation instead of redoing it

CURA-7851
Konstantinos Karmas 3 years ago
parent
commit
e793eac425
2 changed files with 2 additions and 2 deletions
  1. 1 1
      cura/Arranging/Nest2DArrange.py
  2. 1 1
      cura/MultiplyObjectsJob.py

+ 1 - 1
cura/Arranging/Nest2DArrange.py

@@ -158,5 +158,5 @@ def arrange(nodes_to_arrange: List["SceneNode"],
     """
 
     grouped_operation, not_fit_count = createGroupOperationForArrange(nodes_to_arrange, build_volume, fixed_nodes, factor, add_new_nodes_in_scene)
-    grouped_operation.redo()
+    grouped_operation.push()
     return not_fit_count != 0

+ 1 - 1
cura/MultiplyObjectsJob.py

@@ -91,7 +91,7 @@ class MultiplyObjectsJob(Job):
                 # happened (and after moving it, it's clear that there are more underneath)
                 group_operation.addOperation(TranslateOperation(nested_node, Vector(2.5, 2.5, 2.5)))
 
-        group_operation.redo()
+        group_operation.push()
         status_message.hide()
 
         if not found_solution_for_all: