Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
f7f460b
)
22406: EDF SMESH Regression : Items are missing in group contextual menu
author
eap
<eap@opencascade.com>
Thu, 14 Nov 2013 15:15:27 +0000
(15:15 +0000)
committer
eap
<eap@opencascade.com>
Thu, 14 Nov 2013 15:15:27 +0000
(15:15 +0000)
Fix the previous "improvement"
src/SMESHGUI/SMESHGUI_Selection.cxx
patch
|
blob
|
history
diff --git
a/src/SMESHGUI/SMESHGUI_Selection.cxx
b/src/SMESHGUI/SMESHGUI_Selection.cxx
index 5656e4b44d2e75196fb11897c2ba8a42665849df..6e82d5b46c4708698a48b543c105080f67b49cc3 100644
(file)
--- a/
src/SMESHGUI/SMESHGUI_Selection.cxx
+++ b/
src/SMESHGUI/SMESHGUI_Selection.cxx
@@
-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;