From: eap Date: Thu, 8 Aug 2013 13:56:33 +0000 (+0000) Subject: Fix regression of GetNumberOfNodes( true ) X-Git-Tag: V7_3_0a1~209 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=fc5cad90e2d4767d932d4a9cada3790eb844e6ab;p=modules%2Fsmesh.git Fix regression of GetNumberOfNodes( true ) --- diff --git a/src/SMESH_I/SMESH_subMesh_i.cxx b/src/SMESH_I/SMESH_subMesh_i.cxx index 30c8cc52a..19a483dcb 100644 --- a/src/SMESH_I/SMESH_subMesh_i.cxx +++ b/src/SMESH_I/SMESH_subMesh_i.cxx @@ -227,6 +227,7 @@ CORBA::Long SMESH_subMesh_i::GetNumberOfNodes(CORBA::Boolean all) if (( aSubMeshDS = aSubMesh->GetSubMeshDS() )) nbNodes += aSubMeshDS->NbNodes(); } + return nbNodes; } return aSubMeshDS ? aSubMeshDS->NbNodes() : 0;