Commit 88a97d6f6a08e044ea7b2da9b272eacd51f4c6c9

Authored by Thiago Franco de Moraes
1 parent f2434008

Generating an unneeded file when creating surface

Showing 1 changed file with 0 additions and 5 deletions   Show diff stats
invesalius/data/surface.py
@@ -610,11 +610,6 @@ class SurfaceManager(): @@ -610,11 +610,6 @@ class SurfaceManager():
610 610
611 # polydata.SetSource(None) 611 # polydata.SetSource(None)
612 # polydata.DebugOn() 612 # polydata.DebugOn()
613 - w = vtk.vtkPLYWriter()  
614 - w.SetInputData(polydata)  
615 - w.SetFileName('/tmp/ca_smoothing_inv.ply')  
616 - w.Write()  
617 -  
618 else: 613 else:
619 #smoother = vtk.vtkWindowedSincPolyDataFilter() 614 #smoother = vtk.vtkWindowedSincPolyDataFilter()
620 smoother = vtk.vtkSmoothPolyDataFilter() 615 smoother = vtk.vtkSmoothPolyDataFilter()