Don't hardcode stl file path, just name

master
Kliment Yanev 2011-10-13 09:48:12 +02:00
parent d8406847c6
commit 65f4fb25ca
1 changed files with 1 additions and 1 deletions

View File

@ -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]]