]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
To restore sub-selection BR-D5-38-2003_Advanced TG-D5-38-2003_D2005-29-12 TG-D5-38-2003_D2006-06-01
authorapo <apo@opencascade.com>
Thu, 29 Dec 2005 15:17:56 +0000 (15:17 +0000)
committerapo <apo@opencascade.com>
Thu, 29 Dec 2005 15:17:56 +0000 (15:17 +0000)
src/SVTK/SALOME_Actor.cxx

index 5e4064ddd415b6e146ae68951c1e1eec5d26cc1f..15597adce71d02536e6b68908f5cf2225f579122 100644 (file)
@@ -853,9 +853,9 @@ SALOME_Actor
            aMapIndex.Add( anObjId );
            
            myPreHighlightActor->GetProperty()->SetRepresentationToPoints();
-           myPreHighlightActor->SetVisibility( true );
            myPreHighlightActor->MapPoints( this, aMapIndex );
          }
+         myPreHighlightActor->SetVisibility( true );
        }
       }
       break;
@@ -881,9 +881,9 @@ SALOME_Actor
              aMapIndex.Add( anObjId );
              
              myPreHighlightActor->GetProperty()->SetRepresentationToSurface();
-             myPreHighlightActor->SetVisibility( true );
              myPreHighlightActor->MapCells( this, aMapIndex );
            }
+           myPreHighlightActor->SetVisibility( true );
          }
        }
       }
@@ -910,9 +910,9 @@ SALOME_Actor
              aMapIndex.Add( anEdgeId );
        
              myPreHighlightActor->GetProperty()->SetRepresentationToWireframe();
-             myPreHighlightActor->SetVisibility( true );
              myPreHighlightActor->MapEdge( this, aMapIndex );
            }
+           myPreHighlightActor->SetVisibility( true );
          }
        }
       }