Fixed post processors and Command constructor (wasn't dealing with parameters being optional).

This commit is contained in:
ml
2016-11-02 10:58:35 +01:00
committed by wmayer
parent eb9e9096ce
commit 6b69276342
6 changed files with 16 additions and 10 deletions
+1 -1
View File
@@ -119,7 +119,7 @@ def export(objectslist, filename, argstring):
# The user my have overriden post processor defaults in the GUI. Make
# sure we're using the current values in the Machine Def.
myMachine = None
for pathobj in selection:
for pathobj in objectslist:
if hasattr(pathobj,"MachineName"):
myMachine = pathobj.MachineName
if hasattr(pathobj, "MachineUnits"):