-
- if (newIndices.Extent() > 0){
- mySelector->AddOrRemoveIndex( myActor->getIO(), newIndices, true );
- myViewWindow->highlight( myActor->getIO(), true, true );
- }
-
-/* bool aNodesOK = false;
- if (aListId.count() >= 3)
- aNodesOK = true;
-
- allOk = (allOk && aNodesOK);*/
-
+
+ mySelector->AddOrRemoveIndex( myActor->getIO(), newIndices, false );
+
+ if ( SVTK_ViewWindow* aViewWindow = SMESH::GetViewWindow( mySMESHGUI ))
+ aViewWindow->highlight( myActor->getIO(), true, true );
+