Skip to content

Commit

Permalink
compare dEntTopology with dTOPO_ALL instead of iMesh_ALL_TOPOLOGIES (…
Browse files Browse the repository at this point in the history
…which is an incompatible enum since the names are different)
  • Loading branch information
jedbrown committed Jan 23, 2010
1 parent de90537 commit 127fc20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fs/mesh/interface/mesh.c
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ dErr dMeshGetNumEnts(dMesh mesh,dMeshESH set,dEntType type,dEntTopology topo,dIn
dFunctionBegin;
dValidHeader(mesh,dMESH_COOKIE,1);
dValidPointer(num,5);
if (topo == iMesh_ALL_TOPOLOGIES) {
if (topo == dTOPO_ALL) {
iMesh_getNumOfType(mesh->mi,set,type,&n,&ierr);dICHK(mesh->mi,ierr);
} else {
iMesh_getNumOfTopo(mesh->mi,set,topo,&n,&ierr);dICHK(mesh->mi,ierr);
Expand Down

0 comments on commit 127fc20

Please sign in to comment.