Changeset View
Changeset View
Standalone View
Standalone View
source/blender/modifiers/intern/MOD_skin.c
| Show First 20 Lines • Show All 992 Lines • ▼ Show 20 Lines | |||||
| so.smd = smd; | so.smd = smd; | ||||
| so.bm = BM_mesh_create(&bm_mesh_allocsize_default, | so.bm = BM_mesh_create(&bm_mesh_allocsize_default, | ||||
| &((struct BMeshCreateParams){ | &((struct BMeshCreateParams){ | ||||
| .use_toolflags = true, | .use_toolflags = true, | ||||
| })); | })); | ||||
| so.mat_nr = 0; | so.mat_nr = 0; | ||||
| /* BMESH_TODO: bumping up the stack level (see MOD_array.c) */ | /* BMESH_TODO: bumping up the stack level (see MOD_array.cc) */ | ||||
| BM_mesh_elem_toolflags_ensure(so.bm); | BM_mesh_elem_toolflags_ensure(so.bm); | ||||
| BMO_push(so.bm, NULL); | BMO_push(so.bm, NULL); | ||||
| bmesh_edit_begin(so.bm, 0); | bmesh_edit_begin(so.bm, 0); | ||||
| if (input_dvert) { | if (input_dvert) { | ||||
| BM_data_layer_add(so.bm, &so.bm->vdata, CD_MDEFORMVERT); | BM_data_layer_add(so.bm, &so.bm->vdata, CD_MDEFORMVERT); | ||||
| } | } | ||||
| ▲ Show 20 Lines • Show All 261 Lines • Show Last 20 Lines | |||||