Commit dc77fbd3 by Max Lyon

only compute normals for faces that are not deleted

parent c48e9578
Pipeline #5537 passed with stage
in 97 minutes 35 seconds
Showing with 1 additions and 1 deletions
......@@ -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 sign in to comment