mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-29 10:50:34 +05:00
0021906: [CEA 579] Missing section in Mesh Properties Dialog
This commit is contained in:
parent
fe533dd568
commit
aa3edf49ef
@ -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
|
// node controls are supposed to be shown if at least any element type is present
|
||||||
// or if there are only nodes
|
// or if there are only nodes
|
||||||
myNodeGrp->setVisible( nodes || elements & SMESH_Actor::eAllEntity );
|
myNodeGrp->setVisible( nodes || elements & SMESH_Actor::eAllEntity );
|
||||||
// edge controls are shown only if there are edges
|
// edge/wireframe controls are needed for edges, faces and volumes
|
||||||
myEdgeGrp->setVisible( elements & SMESH_Actor::eEdges );
|
myEdgeGrp->setVisible( elements & ( SMESH_Actor::eEdges | SMESH_Actor::eFaces | SMESH_Actor::eVolumes ) );
|
||||||
// face controls are shown only if there are faces
|
// face controls are shown only if there are faces
|
||||||
myFaceGrp->setVisible( elements & SMESH_Actor::eFaces );
|
myFaceGrp->setVisible( elements & SMESH_Actor::eFaces );
|
||||||
// volume controls are shown only if there are volumes
|
// volume controls are shown only if there are volumes
|
||||||
|
Loading…
Reference in New Issue
Block a user