From 68807d99d23e674fac9e3a0d4da787fb738ccbc5 Mon Sep 17 00:00:00 2001 From: Jaime van Kessel Date: Wed, 24 Jun 2020 15:18:20 +0200 Subject: [PATCH] Fix issue that no disallowed areas were show if there were no active objects CURA-7106 --- cura/Settings/ExtruderManager.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/cura/Settings/ExtruderManager.py b/cura/Settings/ExtruderManager.py index 7d8feeb522..67c582ad5e 100755 --- a/cura/Settings/ExtruderManager.py +++ b/cura/Settings/ExtruderManager.py @@ -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")