]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Fix problem with highlighting of internal mesh edges in "Diagonal Inversion" dialog... V4_1_3 V4_1_3rc2
authorvsr <vsr@opencascade.com>
Sat, 7 Jun 2008 07:29:29 +0000 (07:29 +0000)
committervsr <vsr@opencascade.com>
Sat, 7 Jun 2008 07:29:29 +0000 (07:29 +0000)
src/SVTK/SALOME_Actor.cxx

index b9597c30c1fb3fc0bc9ed43b6743e4ff320dff3c..b4f02bec84c03e55433843826fe26b489f02241b 100644 (file)
@@ -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;