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:
parent
48b1eafafc
commit
9a703186de
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Reference in New Issue