From 65f4fb25ca4ab8eb347744d54ef0b00b7e50b804 Mon Sep 17 00:00:00 2001 From: Kliment Yanev Date: Thu, 13 Oct 2011 09:48:12 +0200 Subject: [PATCH] Don't hardcode stl file path, just name --- stlview.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stlview.py b/stlview.py index de40d97..3877455 100644 --- a/stlview.py +++ b/stlview.py @@ -420,7 +420,7 @@ class TestGlPanel(GLPanel): '''create opengl objects when opengl is initialized''' import stltool batch = pyglet.graphics.Batch() - s= stltool.stl("../prusa/metric-prusa/x-end-idler.stl") + s= stltool.stl("x-end-idler.stl") stl = stlview(s.facets, batch=batch) #print "added vertices" self.batches+=[[[50,50,0],batch,0]]