Fixed selection of the job for post processing.

This commit is contained in:
ml 2016-10-08 22:44:36 -07:00 committed by Markus Lampert
parent ebb5bb9ef9
commit dffb449fbd

View File

@ -60,13 +60,13 @@ class CommandPathPost:
translate("Path_Post", "Post Process the Selected path(s)"))
FreeCADGui.addModule("PathScripts.PathPost")
# select the Path Job that you want to post output from
obj = FreeCADGui.Selection.getSelection()
obj = FreeCADGui.Selection.getCompleteSelection()
# default to the dumper post and default .tap file
postname = "dumper"
filename = "tmp.tap"
print "in activated"
print "in activated %s" %(obj)
# check if the user has a project and has set the default post and
# output filename