[Variants][Fixed] _sub_pcb initialization
This commit is contained in:
parent
da2d5f1001
commit
0f574705cf
|
|
@ -227,6 +227,7 @@ class VariantOptions(BaseOptions):
|
|||
A short-cut to use for simple cases where a variant is an overkill """
|
||||
super().__init__()
|
||||
self._comps = None
|
||||
self._sub_pcb = None
|
||||
self.undo_3d_models = {}
|
||||
self.undo_3d_models_rep = {}
|
||||
self._highlight_3D_file = None
|
||||
|
|
@ -933,6 +934,4 @@ class VariantOptions(BaseOptions):
|
|||
# Apply the variant
|
||||
comps = self.variant.filter(comps)
|
||||
self._sub_pcb = self.variant._sub_pcb
|
||||
else:
|
||||
self._sub_pcb = None
|
||||
self._comps = comps
|
||||
|
|
|
|||
Loading…
Reference in New Issue