From 41e4be042aa03eeb968f04e915aed6eda2afa41a Mon Sep 17 00:00:00 2001 From: apo Date: Wed, 14 Dec 2005 10:37:46 +0000 Subject: [PATCH] Fix for Bug GVIEW10709 wrong presentation of quadratic mesh elements (a small file (arche.resu.tetra.med) with a few well connected tetras that dos not show well either on wireframe or surface representation) --- 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 a3ca1c04e..d1baa5b11 100755 --- a/src/VTKViewer/VTKViewer_GeometryFilter.cxx +++ b/src/VTKViewer/VTKViewer_GeometryFilter.cxx @@ -493,7 +493,7 @@ void VTKViewer_GeometryFilter::UnstructuredGridExecute() for (int j=0; j < cell->GetNumberOfFaces(); j++){ vtkCell *face = cell->GetFace(j); input->GetCellNeighbors(cellId, face->PointIds, cellIds); - if ( cellIds->GetNumberOfIds() <= 0 && myShowInside ) { + if ( cellIds->GetNumberOfIds() <= 0 || myShowInside ) { face->Triangulate(0,pts,coords); for (i=0; i < pts->GetNumberOfIds(); i+=3) { aNewPts[0] = pts->GetId(i); -- 2.39.2