FindNodePlacement should find a placement for the node, but not creating

a new node.
This commit is contained in:
Diego Prado Gesto 2018-06-13 11:28:20 +02:00
parent b0b4f78cf2
commit 981eed313c
3 changed files with 14 additions and 12 deletions

View file

@ -1675,7 +1675,7 @@ class CuraApplication(QtApplication):
return
# Step is for skipping tests to make it a lot faster. it also makes the outcome somewhat rougher
node, _ = arranger.findNodePlacement(node, offset_shape_arr, hull_shape_arr, step = 10)
arranger.findNodePlacement(node, offset_shape_arr, hull_shape_arr, step = 10)
# This node is deep copied from some other node which already has a BuildPlateDecorator, but the deepcopy
# of BuildPlateDecorator produces one that's associated with build plate -1. So, here we need to check if