Incorrect logic for passing lines through vtkTriangleFilter
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
A small cut 'n paste bug... turning on PassLines doesn't pass lines through. PassVerts will pass lines and verts through. Here's the fix:
RCS file: /cvsroot/VTK/VTK/Graphics/vtkTriangleFilter.cxx,v retrieving revision 1.51 diff -u -r1.51 vtkTriangleFilter.cxx --- vtkTriangleFilter.cxx 14 Nov 2003 20:43:32 -0000 1.51 +++ vtkTriangleFilter.cxx 9 May 2004 23:48:42 -0000 @@ -93,7 +93,7 @@ if ( !abort && input->GetLines()->GetNumberOfCells() > 0 ) { cells = input->GetLines();
- if ( this->PassVerts )
- if ( this->PassLines ) { newId = output->GetNumberOfCells(); newCells = vtkCellArray::New();