Commit 2eb7bf90c2e691c3bc222b329355234162e2f2d0
1 parent
2f14ff94
Exists in
vtk6
Saving meshes with vtk6
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
invesalius/data/surface.py
| @@ -865,6 +865,7 @@ class SurfaceManager(): | @@ -865,6 +865,7 @@ class SurfaceManager(): | ||
| 865 | normals.AutoOrientNormalsOn() | 865 | normals.AutoOrientNormalsOn() |
| 866 | # normals.GetOutput().ReleaseDataFlagOn() | 866 | # normals.GetOutput().ReleaseDataFlagOn() |
| 867 | normals.UpdateInformation() | 867 | normals.UpdateInformation() |
| 868 | + normals.Update() | ||
| 868 | polydata = normals.GetOutput() | 869 | polydata = normals.GetOutput() |
| 869 | 870 | ||
| 870 | filename = filename.encode(wx.GetDefaultPyEncoding()) | 871 | filename = filename.encode(wx.GetDefaultPyEncoding()) |