From: eap Date: Tue, 13 Dec 2016 15:52:45 +0000 (+0300) Subject: Regression in visualization of quadratic volumes X-Git-Tag: V8_3_0a1~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a407a9603ab1f3ffef4d4956af14952391cf21c5;p=modules%2Fgui.git Regression in visualization of quadratic volumes --- diff --git a/src/VTKViewer/VTKViewer_GeometryFilter.cxx b/src/VTKViewer/VTKViewer_GeometryFilter.cxx index 237adfb6c..a289dc87c 100755 --- a/src/VTKViewer/VTKViewer_GeometryFilter.cxx +++ b/src/VTKViewer/VTKViewer_GeometryFilter.cxx @@ -1146,9 +1146,9 @@ VTKViewer_GeometryFilter // avoid adding it when treating another face process = midPoints.insert( face->GetPointId(p2) ).second; break; case 1: // the edge is shared by two cells - process = ( cellIdsTmp->GetId(0) == cellId ); break; + process = ( cellIdsTmp->GetId(0) < cellId ); break; default: // the edge is shared by >2 cells - process = ( cellIdsTmp->GetId(0) != cellId ); break; + process = ( cellIdsTmp->GetId(0) < cellId ); break; } if ( process ) {