]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
Fixed bug VISU200820353 - Moving of Gauss points on selection
authorouv <ouv@opencascade.com>
Fri, 12 Sep 2008 12:50:57 +0000 (12:50 +0000)
committerouv <ouv@opencascade.com>
Fri, 12 Sep 2008 12:50:57 +0000 (12:50 +0000)
src/OBJECT/VISU_Actor.cxx

index 210514848cd92e54cc2aa43287a0308f7af233d1..0367bcf51d00688dbe863c3a25c4836d18f50fff 100644 (file)
@@ -913,16 +913,7 @@ VISU_Actor
     {
       case ActorSelection:
       {
-       vtkFloatingPointType aCoord[6];
-       GetBounds(aCoord);
-
-       aFlyTo = true;
-       aFlyToCoord[0] = ( aCoord[0] + aCoord[1] ) / 2;
-       aFlyToCoord[1] = ( aCoord[2] + aCoord[3] ) / 2;
-       aFlyToCoord[2] = ( aCoord[4] + aCoord[5] ) / 2;
-
        ResetTextActor();
-
        break;
       }
       case CellSelection: