22406: EDF SMESH Regression : Items are missing in group contextual menu

Fix the previous "improvement"
This commit is contained in:
eap 2013-11-14 15:15:27 +00:00
parent f7f460b8b0
commit 813092187c

View File

@ -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;