Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/transform/transform_convert_mesh.c
| Show First 20 Lines • Show All 186 Lines • ▼ Show 20 Lines | while ((v = BLI_LINKSTACK_POP(queue))) { | ||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| /* face distance */ | /* face distance */ | ||||
| if (e_iter->l) { | if (e_iter->l) { | ||||
| BMLoop *l_iter_radial, *l_first_radial; | BMLoop *l_iter_radial, *l_first_radial; | ||||
| /** | /** | ||||
| * imaginary edge diagonally across quad, | * imaginary edge diagonally across quad. | ||||
| * \note, this takes advantage of the rules of winding that we | * \note This takes advantage of the rules of winding that we | ||||
| * know 2 or more of a verts edges wont reference the same face twice. | * know 2 or more of a verts edges wont reference the same face twice. | ||||
| * Also, if the edge is hidden, the face will be hidden too. | * Also, if the edge is hidden, the face will be hidden too. | ||||
| */ | */ | ||||
| l_iter_radial = l_first_radial = e_iter->l; | l_iter_radial = l_first_radial = e_iter->l; | ||||
| do { | do { | ||||
| if ((l_iter_radial->v == v) && (l_iter_radial->f->len == 4) && | if ((l_iter_radial->v == v) && (l_iter_radial->f->len == 4) && | ||||
| (BM_elem_flag_test(l_iter_radial->f, BM_ELEM_HIDDEN) == 0)) { | (BM_elem_flag_test(l_iter_radial->f, BM_ELEM_HIDDEN) == 0)) { | ||||
| ▲ Show 20 Lines • Show All 1,443 Lines • Show Last 20 Lines | |||||