Fix regression of GetNumberOfNodes( true )

This commit is contained in:
eap 2013-08-08 13:56:33 +00:00
parent c4cd7806bc
commit fc5cad90e2

View File

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