Workaround for STL loading problem. Really need to refactor this.

master
Daid 2012-03-12 20:15:26 +01:00
parent ef278b6b1d
commit 8a8be87a75
1 changed files with 1 additions and 0 deletions

View File

@ -113,6 +113,7 @@ class previewPanel(wx.Panel):
triangleMesh.origonalVertexes = list(triangleMesh.vertexes)
for i in xrange(0, len(triangleMesh.origonalVertexes)):
triangleMesh.origonalVertexes[i] = triangleMesh.origonalVertexes[i].copy()
triangleMesh.getMinimumZ()
self.triangleMesh = triangleMesh
self.gcode = None
self.updateModelTransform()