branch | pyrit |
changeset 74 | 09aedbf5f95f |
parent 73 | a5127346fbcd |
child 75 | 20dee9819b17 |
--- a/demos/render_nff.py Sun Apr 20 19:27:59 2008 +0200 +++ b/demos/render_nff.py Mon Apr 21 08:47:36 2008 +0200 @@ -84,6 +84,8 @@ rt.addshape(Triangle(vertices[0], vertices[1], vertices[2], mat)) for i in range(vertex_count)[3:]: rt.addshape(Triangle(vertices[0], vertices[i-1], vertices[i], mat)) + elif ln[0] == '#': # Comment + pass else: print "Not implemented:", line f.close()