Salome HOME
Regression in visualization of quadratic volumes
authoreap <eap@opencascade.com>
Tue, 13 Dec 2016 15:52:45 +0000 (18:52 +0300)
committereap <eap@opencascade.com>
Tue, 13 Dec 2016 15:52:45 +0000 (18:52 +0300)
src/VTKViewer/VTKViewer_GeometryFilter.cxx

index 237adfb6c4611a18f907a79230ea386ae266b856..a289dc87c2ac60cfe4457e5538e55e3e48d0eca7 100755 (executable)
@@ -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 )
                       {