]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Fix regression connected with displaying of the 3D non-linear elements.
authorrnv <rnv@opencascade.com>
Thu, 15 Mar 2012 15:08:07 +0000 (15:08 +0000)
committerrnv <rnv@opencascade.com>
Thu, 15 Mar 2012 15:08:07 +0000 (15:08 +0000)
src/VTKViewer/VTKViewer_GeometryFilter.cxx

index fefe1c1c779cbff24b045c7f02c0bb9a860e8858..2d6baf6ae538c96646807038a7fe3e8b3685a46b 100755 (executable)
@@ -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);