mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-28 02:10:35 +05:00
22406: EDF SMESH Regression : Items are missing in group contextual menu
Fix the previous "improvement"
This commit is contained in:
parent
f7f460b8b0
commit
813092187c
@ -401,7 +401,7 @@ int SMESHGUI_Selection::numberOfNodes( int ind ) const
|
||||
return aSubMeshObj->GetNumberOfNodes(true);
|
||||
SMESH::SMESH_GroupBase_var aGroupObj = SMESH::SMESH_GroupBase::_narrow( obj );
|
||||
if ( !aGroupObj->_is_nil() )
|
||||
return aGroupObj->IsEmpty(); // aGroupObj->Size();
|
||||
return aGroupObj->IsEmpty() ? 0 : 1; // aGroupObj->Size();
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user