From e4cea31a9d02a8eaab72a2373eca6c326eb440b5 Mon Sep 17 00:00:00 2001 From: Philip Eisenlohr Date: Mon, 9 Dec 2013 15:58:35 +0000 Subject: [PATCH] small bug fix: options.error --> parser.error --- processing/post/vtk_addPointcloudData.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/processing/post/vtk_addPointcloudData.py b/processing/post/vtk_addPointcloudData.py index 219f0f8d4..49e13974c 100755 --- a/processing/post/vtk_addPointcloudData.py +++ b/processing/post/vtk_addPointcloudData.py @@ -62,7 +62,7 @@ Nvertices = reader.GetNumberOfVerts() Polydata = reader.GetOutput() if Npoints != Ncells or Npoints != Nvertices: - options.error('Number of points, cells, and vertices in VTK differ from each other'); sys.exit() + parser.error('Number of points, cells, and vertices in VTK differ from each other'); sys.exit() if options.scalar != None: datainfo['scalar']['label'] += options.scalar if options.color != None: datainfo['color']['label'] += options.color