Commit c57fece9 by Jan Möbius

Merge branch 'face_normals' into 'master'

only compute normals for faces that are not deleted

See merge request !141
parents c48e9578 dc77fbd3
Pipeline #5541 passed with stage
in 88 minutes 21 seconds
......@@ -261,7 +261,7 @@ void
PolyMeshT<Kernel>::
update_face_normals()
{
FaceIter f_it(Kernel::faces_begin()), f_end(Kernel::faces_end());
FaceIter f_it(Kernel::faces_sbegin()), f_end(Kernel::faces_end());
for (; f_it != f_end; ++f_it)
this->set_normal(*f_it, calc_face_normal(*f_it));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment