Commit f73561ba authored by kliment's avatar kliment

Merge pull request #15 from ahmetcemturan/patch-4

Fix direction when reversing the extruder.
parents 756fa55f acf69867
...@@ -109,7 +109,7 @@ class PronterWindow(wx.Frame,pronsole.pronsole): ...@@ -109,7 +109,7 @@ class PronterWindow(wx.Frame,pronsole.pronsole):
def do_reverse(self,l=""): def do_reverse(self,l=""):
try: try:
if not (l.__class__=="".__class__ or l.__class__==u"".__class__) or (not len(l)): if not (l.__class__=="".__class__ or l.__class__==u"".__class__) or (not len(l)):
l=str(self.edist.GetValue()) l=str(self.edist.GetValue()*-1)
pronsole.pronsole.do_extrude(self,l) pronsole.pronsole.do_extrude(self,l)
except: except:
pass pass
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment