From 0cd41476a3c7055619a42bceacfab8407b73bc7a Mon Sep 17 00:00:00 2001 From: rnv Date: Thu, 15 Mar 2012 15:08:07 +0000 Subject: [PATCH] Fix regression connected with displaying of the 3D non-linear elements. --- src/VTKViewer/VTKViewer_GeometryFilter.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/VTKViewer/VTKViewer_GeometryFilter.cxx b/src/VTKViewer/VTKViewer_GeometryFilter.cxx index fefe1c1c7..2d6baf6ae 100755 --- a/src/VTKViewer/VTKViewer_GeometryFilter.cxx +++ b/src/VTKViewer/VTKViewer_GeometryFilter.cxx @@ -649,7 +649,7 @@ VTKViewer_GeometryFilter vtkCell *face = cell->GetFace(j); input->GetCellNeighbors(cellId, face->PointIds, cellIds); bool process = cellIds->GetNumberOfIds() <= 0 ? true : myAppendCoincident3D; - if ( process <= 0 || myShowInside ) { + if ( process || myShowInside ) { face->Triangulate(0,lpts,coords); for (i=0; i < lpts->GetNumberOfIds(); i+=3) { aNewPts[0] = lpts->GetId(i); -- 2.39.2