]> git.tdb.fi Git - libs/gl.git/blobdiff - blender/io_mspgl/mesh.py
Fix line exporting
[libs/gl.git] / blender / io_mspgl / mesh.py
index 88758730881d0c734373ae081b50ea48b60cf760..3a7400b7e6c2f296c2a582d42af19847bdaca143 100644 (file)
@@ -162,6 +162,8 @@ class Mesh:
                                f.edges.append(e)
 
                self.lines = [Line(e) for e in self.edges.values() if not e.faces]
+               for l in self.lines:
+                       l.vertices = [self.vertices[i] for i in l.vertices]
 
                if self.use_auto_smooth:
                        smooth_limit = math.cos(self.auto_smooth_angle)