Changeset View
Changeset View
Standalone View
Standalone View
source/blender/bmesh/intern/bmesh_polygon_edgenet.c
| Context not available. | |||||
| /* Set the following vars once we have >1 groups */ | /* Set the following vars once we have >1 groups */ | ||||
| /* when when an edge in a previous group connects to this one, | /* when when an edge in a previous group connects to this one, | ||||
| * so theres no need to create one pointing back. */ | * so there's no need to create one pointing back. */ | ||||
| uint has_prev_edge : 1; | uint has_prev_edge : 1; | ||||
| /* verts in the group which has the lowest & highest values, | /* verts in the group which has the lowest & highest values, | ||||
| Context not available. | |||||
| * - Keep taking the hit-edge and testing its verts until a vertex is found which isn't blocked by an edge. | * - Keep taking the hit-edge and testing its verts until a vertex is found which isn't blocked by an edge. | ||||
| * | * | ||||
| * \note It's possible none of the verts can be accessed (with self-intersecting lines). | * \note It's possible none of the verts can be accessed (with self-intersecting lines). | ||||
| * In that case theres no right answer (without subdividing edges), | * In that case there's no right answer (without subdividing edges), | ||||
| * so return a fall-back vertex in that case. | * so return a fall-back vertex in that case. | ||||
| */ | */ | ||||
| Context not available. | |||||
| if (!BM_elem_flag_test(v_iter, VERT_IN_ARRAY)) { | if (!BM_elem_flag_test(v_iter, VERT_IN_ARRAY)) { | ||||
| BM_elem_flag_enable(v_iter, VERT_IN_ARRAY); | BM_elem_flag_enable(v_iter, VERT_IN_ARRAY); | ||||
| /* not nice, but alternatives arent much better :S */ | /* not nice, but alternatives aren't much better :S */ | ||||
| { | { | ||||
| copy_v3_v3(vert_coords_backup[v_index], v_iter->co); | copy_v3_v3(vert_coords_backup[v_index], v_iter->co); | ||||
| Context not available. | |||||