From: rnv Date: Fri, 28 Sep 2012 10:59:30 +0000 (+0000) Subject: Implementation of the "21459: EDF 1495 SMESH: Manipulation of discrete elements with... X-Git-Tag: V6_6_0a1~71 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c23203b921caeae641f0e6f4940fd1804c9532aa;p=modules%2Fsmesh.git Implementation of the "21459: EDF 1495 SMESH: Manipulation of discrete elements with attributes" issue: visualization of the 0D and balls elements. --- diff --git a/resources/SalomeApp.xml.in b/resources/SalomeApp.xml.in index 72e45fc0b..8d3d8a96f 100644 --- a/resources/SalomeApp.xml.in +++ b/resources/SalomeApp.xml.in @@ -34,7 +34,7 @@ - + diff --git a/src/SMESHGUI/SMESHGUI_GroupDlg.cxx b/src/SMESHGUI/SMESHGUI_GroupDlg.cxx index 2a1cb2f5a..129f67073 100644 --- a/src/SMESHGUI/SMESHGUI_GroupDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_GroupDlg.cxx @@ -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;