From afb95db1bf4e27b2eef3310566cc0188bc7545c9 Mon Sep 17 00:00:00 2001 From: vsr Date: Sat, 7 Jun 2008 07:29:29 +0000 Subject: [PATCH] Fix problem with highlighting of internal mesh edges in "Diagonal Inversion" dialog box (SMESH) --- src/SVTK/SALOME_Actor.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SVTK/SALOME_Actor.cxx b/src/SVTK/SALOME_Actor.cxx index b9597c30c..b4f02bec8 100644 --- a/src/SVTK/SALOME_Actor.cxx +++ b/src/SVTK/SALOME_Actor.cxx @@ -508,7 +508,7 @@ SALOME_Actor if(myIsPreselected){ const TColStd_IndexedMapOfInteger& aMapIndex = myPreHighlightActor->GetMapIndex(); int anExtent = aMapIndex.Extent(); - anIsChanged |= (anExtent == 0); + anIsChanged |= (anExtent == 0 || anExtent == 1); anIsChanged |= (anExtent == 2 && (anObjId != aMapIndex(1) || anEdgeId != aMapIndex(2))); if(anIsChanged){ TColStd_IndexedMapOfInteger aMapIndex; -- 2.39.2