Only show "can't find location message" when it couldn't find location

Bit of a silly mistake, but easy enough to fix!

CURA-8649
This commit is contained in:
Jaime van Kessel 2021-10-28 13:53:52 +02:00
parent 59be3e195d
commit 61c43fb765

View file

@ -159,4 +159,4 @@ 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.push()
return not_fit_count != 0
return not_fit_count == 0