From fc5cad90e2d4767d932d4a9cada3790eb844e6ab Mon Sep 17 00:00:00 2001 From: eap Date: Thu, 8 Aug 2013 13:56:33 +0000 Subject: [PATCH] Fix regression of GetNumberOfNodes( true ) --- src/SMESH_I/SMESH_subMesh_i.cxx | 1 + 1 file changed, 1 insertion(+) 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; -- 2.39.2