mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-16 11:17:49 -06:00
Fix issue that no disallowed areas were show if there were no active objects
CURA-7106
This commit is contained in:
parent
b1fe4793e4
commit
68807d99d2
1 changed files with 0 additions and 2 deletions
|
@ -208,8 +208,6 @@ class ExtruderManager(QObject):
|
||||||
|
|
||||||
# Get the extruders of all printable meshes in the scene
|
# Get the extruders of all printable meshes in the scene
|
||||||
nodes = [node for node in DepthFirstIterator(scene_root) if node.isSelectable() and not node.callDecoration("isAntiOverhangMesh") and not node.callDecoration("isSupportMesh")] #type: ignore #Ignore type error because iter() should get called automatically by Python syntax.
|
nodes = [node for node in DepthFirstIterator(scene_root) if node.isSelectable() and not node.callDecoration("isAntiOverhangMesh") and not node.callDecoration("isSupportMesh")] #type: ignore #Ignore type error because iter() should get called automatically by Python syntax.
|
||||||
if not nodes:
|
|
||||||
return []
|
|
||||||
|
|
||||||
for node in nodes:
|
for node in nodes:
|
||||||
extruder_stack_id = node.callDecoration("getActiveExtruder")
|
extruder_stack_id = node.callDecoration("getActiveExtruder")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue