From ed33913327d960a958b58ff690a4f53cb49ef679 Mon Sep 17 00:00:00 2001 From: "Salvador E. Tropea" Date: Thu, 22 Dec 2022 13:06:16 -0300 Subject: [PATCH] [Fixed][Sub-PCBs] Unfilter must be applied even if no _comps --- kibot/out_base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kibot/out_base.py b/kibot/out_base.py index 89fa1e7a..007be15a 100644 --- a/kibot/out_base.py +++ b/kibot/out_base.py @@ -743,7 +743,7 @@ class VariantOptions(BaseOptions): return True def unfilter_pcb_components(self, board, do_3D=False, do_2D=True): - if not self._comps: + if not self._comps and not self._sub_pcb: return if self._sub_pcb: # Undo the sub-PCB: just reload the PCB