From 2eb7bf90c2e691c3bc222b329355234162e2f2d0 Mon Sep 17 00:00:00 2001 From: Thiago Franco de Moraes Date: Thu, 7 Apr 2016 16:31:17 -0300 Subject: [PATCH] Saving meshes with vtk6 --- invesalius/data/surface.py | 1 + 1 file changed, 1 insertion(+), 0 deletions(-) diff --git a/invesalius/data/surface.py b/invesalius/data/surface.py index 56cd6c4..15c92ed 100644 --- a/invesalius/data/surface.py +++ b/invesalius/data/surface.py @@ -865,6 +865,7 @@ class SurfaceManager(): normals.AutoOrientNormalsOn() # normals.GetOutput().ReleaseDataFlagOn() normals.UpdateInformation() + normals.Update() polydata = normals.GetOutput() filename = filename.encode(wx.GetDefaultPyEncoding()) -- libgit2 0.21.2