mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-26 09:20:34 +05:00
Fix regression of GetNumberOfNodes( true )
This commit is contained in:
parent
c4cd7806bc
commit
fc5cad90e2
@ -227,6 +227,7 @@ CORBA::Long SMESH_subMesh_i::GetNumberOfNodes(CORBA::Boolean all)
|
|||||||
if (( aSubMeshDS = aSubMesh->GetSubMeshDS() ))
|
if (( aSubMeshDS = aSubMesh->GetSubMeshDS() ))
|
||||||
nbNodes += aSubMeshDS->NbNodes();
|
nbNodes += aSubMeshDS->NbNodes();
|
||||||
}
|
}
|
||||||
|
return nbNodes;
|
||||||
}
|
}
|
||||||
|
|
||||||
return aSubMeshDS ? aSubMeshDS->NbNodes() : 0;
|
return aSubMeshDS ? aSubMeshDS->NbNodes() : 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user