Removed useless test in out_step.

The undo_3d_models can't be empty when calling undo_3d_models_rename.
In the worst case won't do any damage doing the loop.
This commit is contained in:
Salvador E. Tropea 2021-02-03 12:54:05 -03:00
parent 48b1eafafc
commit 9a703186de
1 changed files with 0 additions and 2 deletions

View File

@ -72,8 +72,6 @@ class STEPOptions(VariantOptions):
def undo_3d_models_rename(self):
""" Restores the file name for any renamed 3D module """
if not self.undo_3d_models:
return
for m in GS.board.GetModules():
# Get the model references
models = m.Models()