From aa3edf49efeedf64279884a769038ead89239012 Mon Sep 17 00:00:00 2001 From: vsr Date: Fri, 12 Oct 2012 05:28:23 +0000 Subject: [PATCH] 0021906: [CEA 579] Missing section in Mesh Properties Dialog --- src/SMESHGUI/SMESHGUI_PropertiesDlg.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/SMESHGUI/SMESHGUI_PropertiesDlg.cxx b/src/SMESHGUI/SMESHGUI_PropertiesDlg.cxx index 1e9874b08..820db62b1 100644 --- a/src/SMESHGUI/SMESHGUI_PropertiesDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_PropertiesDlg.cxx @@ -621,8 +621,8 @@ void SMESHGUI_PropertiesDlg::showControls( int elements, bool nodes ) // node controls are supposed to be shown if at least any element type is present // or if there are only nodes myNodeGrp->setVisible( nodes || elements & SMESH_Actor::eAllEntity ); - // edge controls are shown only if there are edges - myEdgeGrp->setVisible( elements & SMESH_Actor::eEdges ); + // edge/wireframe controls are needed for edges, faces and volumes + myEdgeGrp->setVisible( elements & ( SMESH_Actor::eEdges | SMESH_Actor::eFaces | SMESH_Actor::eVolumes ) ); // face controls are shown only if there are faces myFaceGrp->setVisible( elements & SMESH_Actor::eFaces ); // volume controls are shown only if there are volumes -- 2.39.2