mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Fix g-code reader after adding arranger. CURA-3239
This commit is contained in:
parent
30484461cf
commit
6a3d8504a1
1 changed files with 10 additions and 6 deletions
|
@ -1330,6 +1330,7 @@ class CuraApplication(QtApplication):
|
|||
if not node.getDecorator(ConvexHullDecorator):
|
||||
node.addDecorator(ConvexHullDecorator())
|
||||
|
||||
if node.callDecoration("isSliceable"):
|
||||
# find node location
|
||||
offset_shape_arr, hull_shape_arr = ShapeArray.fromNode(node, min_offset = min_offset)
|
||||
# step is for skipping tests to make it a lot faster. it also makes the outcome somewhat rougher
|
||||
|
@ -1338,6 +1339,9 @@ class CuraApplication(QtApplication):
|
|||
for new_node in nodes:
|
||||
op = AddSceneNodeOperation(new_node, scene.getRoot())
|
||||
op.push()
|
||||
else:
|
||||
op = AddSceneNodeOperation(node, scene.getRoot())
|
||||
op.push()
|
||||
|
||||
scene.sceneChanged.emit(node)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue