diff options
author | Jaime van Kessel <nallath@gmail.com> | 2020-06-24 16:18:20 +0300 |
---|---|---|
committer | Jaime van Kessel <nallath@gmail.com> | 2020-06-24 16:18:20 +0300 |
commit | 68807d99d23e674fac9e3a0d4da787fb738ccbc5 (patch) | |
tree | 1132f00b20befacb0fb5b648148d206bfb2988e5 /cura/Settings/ExtruderManager.py | |
parent | b1fe4793e43652abb8bdf60718f3b4bafe1a90e9 (diff) |
Fix issue that no disallowed areas were show if there were no active objects
CURA-7106
Diffstat (limited to 'cura/Settings/ExtruderManager.py')
-rwxr-xr-x | cura/Settings/ExtruderManager.py | 2 |
1 files changed, 0 insertions, 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") |