mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-11 22:09:04 +08: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
@ -208,8 +208,6 @@ class ExtruderManager(QObject):
|
||||
|
||||
# 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.
|
||||
if not nodes:
|
||||
return []
|
||||
|
||||
for node in nodes:
|
||||
extruder_stack_id = node.callDecoration("getActiveExtruder")
|
||||
|
Loading…
x
Reference in New Issue
Block a user