calc_face_normal asserts that the face has a valid halfedge. This may not be the case for deleted faces. Thus, only compute normals for faces which are not deleted.
calc_face_normal asserts that the face has a valid halfedge. This may not be the case for deleted faces. Thus, only compute normals for faces which are not deleted.