mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-30 20:40:33 +05:00
PAL11200. Fix empty popup of a submesh on wire
This commit is contained in:
parent
c179781b62
commit
4d58bfa497
@ -2501,12 +2501,13 @@ void SMESHGUI::initialize( CAM_Application* app )
|
||||
group = pat.arg( SMESHGUI_Selection::typeName( GROUP ) ),
|
||||
hypo = pat.arg( SMESHGUI_Selection::typeName( HYPOTHESIS ) ),
|
||||
algo = pat.arg( SMESHGUI_Selection::typeName( ALGORITHM ) ),
|
||||
elems = QString( "'%1' '%2' '%3' '%4' '%5'" ).
|
||||
elems = QString( "'%1' '%2' '%3' '%4' '%5' '%6'" ).
|
||||
arg( SMESHGUI_Selection::typeName( SUBMESH_VERTEX ) ).
|
||||
arg( SMESHGUI_Selection::typeName( SUBMESH_EDGE ) ).
|
||||
arg( SMESHGUI_Selection::typeName( SUBMESH_FACE ) ).
|
||||
arg( SMESHGUI_Selection::typeName( SUBMESH_SOLID ) ).
|
||||
arg( SMESHGUI_Selection::typeName( SUBMESH_COMPOUND ) ),
|
||||
arg( SMESHGUI_Selection::typeName( SUBMESH_COMPOUND ) ).
|
||||
arg( SMESHGUI_Selection::typeName( SUBMESH ) ),
|
||||
subMesh = elems,
|
||||
mesh_group = mesh + " " + subMesh + " " + group,
|
||||
hyp_alg = hypo + " " + algo;
|
||||
|
@ -401,6 +401,8 @@ int SMESHGUI_Selection::type( const QString& entry, _PTR(Study) study )
|
||||
}
|
||||
if( aFTag>10 )
|
||||
res = GROUP;
|
||||
else
|
||||
res = SUBMESH;
|
||||
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user