diff --git a/processing/post/vtk_pointCloud.py b/processing/post/vtk_pointCloud.py index 2aad22479..93b4f61bf 100755 --- a/processing/post/vtk_pointCloud.py +++ b/processing/post/vtk_pointCloud.py @@ -98,6 +98,6 @@ for name in filenames: writer.Write() - if name is None: sys.stdout.write(writer.GetOutputString()[:writer.GetOutputStringLength()]) # limiting of outputString is fix for vtk <7.0 + if name is None: sys.stdout.write(writer.GetOutputString()) table.close() diff --git a/processing/post/vtk_rectilinearGrid.py b/processing/post/vtk_rectilinearGrid.py index 2e7c66ad5..295df2714 100755 --- a/processing/post/vtk_rectilinearGrid.py +++ b/processing/post/vtk_rectilinearGrid.py @@ -129,6 +129,6 @@ for name in filenames: writer.Write() - if name is None: sys.stdout.write(writer.GetOutputString()[:writer.GetOutputStringLength()]) # limiting of outputString is fix for vtk <7.0 + if name is None: sys.stdout.write(writer.GetOutputString()) table.close()