diff --git a/kibot/out_base_3d.py b/kibot/out_base_3d.py index 2e2d5c38..8fd6a4b6 100644 --- a/kibot/out_base_3d.py +++ b/kibot/out_base_3d.py @@ -116,7 +116,7 @@ class Base3DOptions(VariantOptions): models_l.append(models.pop()) # Look for all the 3D models for this footprint for m3d in models_l: - if m3d.m_Filename.endswith(DISABLE_TEXT): + if m3d.m_Filename.endswith(DISABLE_TEXT): # Skip models we intentionally disabled using a bogus name continue full_name = KiConf.expand_env(m3d.m_Filename) @@ -218,7 +218,6 @@ class Base3DOptions(VariantOptions): # Push it back to the module models.push_back(m3d) - def filter_components(self, dir): self.undo_3d_models_rep = {} if not self._comps: