From a407a9603ab1f3ffef4d4956af14952391cf21c5 Mon Sep 17 00:00:00 2001 From: eap Date: Tue, 13 Dec 2016 18:52:45 +0300 Subject: [PATCH] Regression in visualization of quadratic volumes --- src/VTKViewer/VTKViewer_GeometryFilter.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ) { -- 2.39.2