Changeset View
Changeset View
Standalone View
Standalone View
source/blender/modifiers/intern/MOD_skin.c
| Show First 20 Lines • Show All 766 Lines • ▼ Show 20 Lines | if (vs[v].flag & MVERT_SKIN_ROOT) { | ||||
| /* Add adjacent edges to stack */ | /* Add adjacent edges to stack */ | ||||
| for (i = 0; i < emap[v].count; i++) { | for (i = 0; i < emap[v].count; i++) { | ||||
| stack_elem.e = emap[v].indices[i]; | stack_elem.e = emap[v].indices[i]; | ||||
| BLI_stack_push(stack, &stack_elem); | BLI_stack_push(stack, &stack_elem); | ||||
| } | } | ||||
| *has_valid_root = true; | *has_valid_root = true; | ||||
| } | } | ||||
| else if (totedge == 0) { | |||||
| /* Vertex-only mesh is valid, mark valid root as well (will display error otherwise). */ | |||||
| *has_valid_root = true; | |||||
| break; | |||||
| } | |||||
| } | } | ||||
| } | } | ||||
| while (!BLI_stack_is_empty(stack)) { | while (!BLI_stack_is_empty(stack)) { | ||||
| build_emats_stack(stack, visited_e, emat, emap, medge, vs, mvert); | build_emats_stack(stack, visited_e, emat, emap, medge, vs, mvert); | ||||
| } | } | ||||
| MEM_freeN(visited_e); | MEM_freeN(visited_e); | ||||
| ▲ Show 20 Lines • Show All 1,256 Lines • Show Last 20 Lines | |||||