Push the grouped operation instead of redoing it

CURA-7851
This commit is contained in:
Konstantinos Karmas 2021-10-06 16:46:20 +02:00
parent 4aae3d7e2e
commit e793eac425
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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: