Fixed STEP output problems.
When downloading missing 3D models, but not filtering them.
This commit is contained in:
parent
0f8eb6af2c
commit
1f46e284f9
|
|
@ -194,6 +194,7 @@ class STEPOptions(VariantOptions):
|
|||
return fname
|
||||
|
||||
def filter_components(self, dir):
|
||||
self.undo_3d_models_rep = {}
|
||||
if not self._comps:
|
||||
# No variant/filter to apply
|
||||
if self.download_models():
|
||||
|
|
@ -207,7 +208,6 @@ class STEPOptions(VariantOptions):
|
|||
comps_hash = self.get_refs_hash()
|
||||
# Remove the 3D models for not fitted components
|
||||
rem_models = []
|
||||
self.undo_3d_models_rep = {}
|
||||
for m in GS.board.GetModules():
|
||||
ref = m.GetReference()
|
||||
c = comps_hash.get(ref, None)
|
||||
|
|
|
|||
Loading…
Reference in New Issue