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 | 865 | normals.AutoOrientNormalsOn() |
| 866 | 866 | # normals.GetOutput().ReleaseDataFlagOn() |
| 867 | 867 | normals.UpdateInformation() |
| 868 | + normals.Update() | |
| 868 | 869 | polydata = normals.GetOutput() |
| 869 | 870 | |
| 870 | 871 | filename = filename.encode(wx.GetDefaultPyEncoding()) | ... | ... |