//-----------------------------------------------------------------------------------------
if(triangulate){
- vtkIdType numFacePts = 3;
+ const vtkIdType numFacePts = 3;
vtkIdList *pts = vtkIdList::New();
vtkPoints *coords = vtkPoints::New();
aCellType = VTK_TRIANGLE;
//-----------------------------------------------------------------------------------------
if(triangulate){
- vtkIdType numFacePts = 3;
+ const vtkIdType numFacePts = 3;
vtkIdList *pts = vtkIdList::New();
vtkPoints *coords = vtkPoints::New();
aCellType = VTK_TRIANGLE;