From c23203b921caeae641f0e6f4940fd1804c9532aa Mon Sep 17 00:00:00 2001 From: rnv Date: Fri, 28 Sep 2012 10:59:30 +0000 Subject: [PATCH] Implementation of the "21459: EDF 1495 SMESH: Manipulation of discrete elements with attributes" issue: visualization of the 0D and balls elements. --- resources/SalomeApp.xml.in | 2 +- src/SMESHGUI/SMESHGUI_GroupDlg.cxx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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; -- 2.39.2