From a3196669ea758236ba264dbf06c6246bfb7c732f Mon Sep 17 00:00:00 2001 From: Philip Eisenlohr Date: Tue, 18 Nov 2014 15:22:00 +0000 Subject: [PATCH] exchanged deprecated data array read function --- processing/post/vtk_pointcloud.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/processing/post/vtk_pointcloud.py b/processing/post/vtk_pointcloud.py index 0b4c2f2ec..b1fb854d8 100755 --- a/processing/post/vtk_pointcloud.py +++ b/processing/post/vtk_pointcloud.py @@ -86,10 +86,10 @@ for file in files: Polydata = vtk.vtkPolyData() Points = vtk.vtkPoints() Vertices = vtk.vtkCellArray() - pos = table.data_asArray(range(column['vector'][options.pos],\ - column['vector'][options.pos]+datainfo['vector']['len'])) + table.data_readArray(range(column['vector'][options.pos],\ + column['vector'][options.pos]+datainfo['vector']['len'])) - for p in pos: + for p in table.data: id = Points.InsertNextPoint(p) Vertices.InsertNextCell(1) Vertices.InsertCellPoint(id)