From: vsr Date: Sat, 7 Jun 2008 07:29:29 +0000 (+0000) Subject: Fix problem with highlighting of internal mesh edges in "Diagonal Inversion" dialog... X-Git-Tag: V4_1_3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=afb95db1bf4e27b2eef3310566cc0188bc7545c9;p=modules%2Fgui.git Fix problem with highlighting of internal mesh edges in "Diagonal Inversion" dialog box (SMESH) --- 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;