Commit 210a8b6d authored by Jeremy Hammett's avatar Jeremy Hammett

Update stlview.py Double-click on window attempted to load a potentially...

Update stlview.py   Double-click on window attempted to load a potentially non-existant stl file. Now prints the location and window name.
parent 94ebebd9
......@@ -489,8 +489,8 @@ class TestGlPanel(GLPanel):
v = map(lambda m, w, b: b * m / w, p, sz, self.bedsize)
v[1] = self.bedsize[1] - v[1]
v += [300]
print v
self.add_file("../prusa/metric-prusa/x-end-idler.stl", v)
print "Double-click at "+str(v)+" in "
print self
def forceresize(self):
self.SetClientSize((self.GetClientSize()[0], self.GetClientSize()[1] + 1))
......
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