Commit f01fc1344d4f8d58d392ca6fd61b483ed554be1c

Authored by Thiago Franco de Moraes
1 parent 20b284a7

Removed DebugOn in surface creation filters

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
invesalius/data/surface.py
@@ -561,7 +561,7 @@ class SurfaceManager(): @@ -561,7 +561,7 @@ class SurfaceManager():
561 options['min weight'], 561 options['min weight'],
562 options['steps']) 562 options['steps'])
563 # polydata.SetSource(None) 563 # polydata.SetSource(None)
564 - polydata.DebugOn() 564 + # polydata.DebugOn()
565 565
566 else: 566 else:
567 #smoother = vtk.vtkWindowedSincPolyDataFilter() 567 #smoother = vtk.vtkWindowedSincPolyDataFilter()
@@ -645,7 +645,7 @@ class SurfaceManager(): @@ -645,7 +645,7 @@ class SurfaceManager():
645 polydata = filled_polydata.GetOutput() 645 polydata = filled_polydata.GetOutput()
646 #polydata.Register(None) 646 #polydata.Register(None)
647 # polydata.SetSource(None) 647 # polydata.SetSource(None)
648 - polydata.DebugOn() 648 + # polydata.DebugOn()
649 del filled_polydata 649 del filled_polydata
650 650
651 normals = vtk.vtkPolyDataNormals() 651 normals = vtk.vtkPolyDataNormals()