forked from blender/blender
me-main #1
@ -577,12 +577,13 @@ void mesh_foreachScreenFace(
|
|||||||
|
|
||||||
BM_mesh_elem_table_ensure(vc->em->bm, BM_FACE);
|
BM_mesh_elem_table_ensure(vc->em->bm, BM_FACE);
|
||||||
|
|
||||||
if (me->runtime->subsurf_face_dot_tags.size() == me->totvert) {
|
const int face_dot_tags_num = me->runtime->subsurf_face_dot_tags.size();
|
||||||
BKE_mesh_foreach_mapped_face_center(
|
if (face_dot_tags_num && (face_dot_tags_num != me->totvert)) {
|
||||||
|
BKE_mesh_foreach_mapped_subdiv_face_center(
|
||||||
me, mesh_foreachScreenFace__mapFunc, &data, MESH_FOREACH_NOP);
|
me, mesh_foreachScreenFace__mapFunc, &data, MESH_FOREACH_NOP);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
BKE_mesh_foreach_mapped_subdiv_face_center(
|
BKE_mesh_foreach_mapped_face_center(
|
||||||
me, mesh_foreachScreenFace__mapFunc, &data, MESH_FOREACH_NOP);
|
me, mesh_foreachScreenFace__mapFunc, &data, MESH_FOREACH_NOP);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user