From: rnv Date: Thu, 15 Mar 2012 15:08:07 +0000 (+0000) Subject: Fix regression connected with displaying of the 3D non-linear elements. X-Git-Tag: V6_5_0a1~22 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=0cd41476a3c7055619a42bceacfab8407b73bc7a;p=modules%2Fgui.git Fix regression connected with displaying of the 3D non-linear elements. --- 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);