]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Implementation of the "21459: EDF 1495 SMESH: Manipulation of discrete elements with...
authorrnv <rnv@opencascade.com>
Fri, 28 Sep 2012 10:59:30 +0000 (10:59 +0000)
committerrnv <rnv@opencascade.com>
Fri, 28 Sep 2012 10:59:30 +0000 (10:59 +0000)
resources/SalomeApp.xml.in
src/SMESHGUI/SMESHGUI_GroupDlg.cxx

index 72e45fc0b4b4e78ffc603e36ca3cafd0d70be015..8d3d8a96f6388528ccdbb52591318636a7928310 100644 (file)
@@ -34,7 +34,7 @@
     <parameter name="wireframe_color"              value="0, 170, 255"/>
     <parameter name="outline_color"                value="0,  70,   0"/>
     <parameter name="elem0d_color"                 value="0, 255,   0"/>
-    <parameter name="ball_elem_color"              value="100, 255,   0"/>
+    <parameter name="ball_elem_color"              value="0, 85,   255"/>
     <parameter name="highlight_color"              value="0, 255, 255"/>
     <parameter name="group_name_color"             value="255, 255, 255"/>
     <parameter name="type_of_marker"               value="1"  />
index 2a1cb2f5a2c6d25acdc0dd97732eccca126784b7..129f67073b4a3aafdd1823cf4e682e1ea257ef9a 100644 (file)
@@ -805,7 +805,7 @@ void SMESHGUI_GroupDlg::setSelectionMode (int theMode)
       if ( aViewWindow ) aViewWindow->SetSelectionMode(isSelectAll ? ActorSelection : EdgeSelection);
       break;
     case grpBallSelection:
-      if ( aViewWindow ) aViewWindow->SetSelectionMode(isSelectAll ? ActorSelection : CellSelection);
+      if ( aViewWindow ) aViewWindow->SetSelectionMode(isSelectAll ? ActorSelection : BallSelection);
       break;
     case grpFaceSelection:
       if ( aViewWindow ) aViewWindow->SetSelectionMode(isSelectAll ? ActorSelection : FaceSelection);
@@ -1759,7 +1759,7 @@ void SMESHGUI_GroupDlg::onAdd()
     break;
   case grpBallSelection:
     aType = SMESH::BALL;
-    mySelector->SetSelectionMode(CellSelection);
+    mySelector->SetSelectionMode(BallSelection);
     break;
   case grpEdgeSelection:
     aType = SMESH::EDGE;