Changeset View
Changeset View
Standalone View
Standalone View
source/blender/bmesh/operators/bmo_extrude.c
| Show First 20 Lines • Show All 458 Lines • ▼ Show 20 Lines | if (use_dissolve_ortho_edges) { | ||||
| } | } | ||||
| /* Allocate array to store possible vertices that will be dissolved. */ | /* Allocate array to store possible vertices that will be dissolved. */ | ||||
| int boundary_verts_len = BMO_slot_map_count(dupeop.slots_out, "boundary_map.out"); | int boundary_verts_len = BMO_slot_map_count(dupeop.slots_out, "boundary_map.out"); | ||||
| dissolve_verts = MEM_mallocN((size_t)boundary_verts_len * sizeof(*dissolve_verts), __func__); | dissolve_verts = MEM_mallocN((size_t)boundary_verts_len * sizeof(*dissolve_verts), __func__); | ||||
| } | } | ||||
| BMO_slot_copy(&dupeop, slots_out, "geom.out", op, slots_out, "geom.out"); | BMO_slot_copy(&dupeop, slots_out, "geom.out", op, slots_out, "geom.out"); | ||||
| BMO_slot_copy(&dupeop, slots_out, "boundary_map.out", op, slots_out, "boundary_map.out"); | |||||
| slot_edges_exclude = BMO_slot_get(op->slots_in, "edges_exclude"); | slot_edges_exclude = BMO_slot_get(op->slots_in, "edges_exclude"); | ||||
| for (e = BMO_iter_new(&siter, dupeop.slots_out, "boundary_map.out", 0); e; | for (e = BMO_iter_new(&siter, dupeop.slots_out, "boundary_map.out", 0); e; | ||||
| e = BMO_iter_step(&siter)) { | e = BMO_iter_step(&siter)) { | ||||
| BMVert *f_verts[4]; | BMVert *f_verts[4]; | ||||
| #ifdef USE_EDGE_REGION_FLAGS | #ifdef USE_EDGE_REGION_FLAGS | ||||
| BMEdge *f_edges[4]; | BMEdge *f_edges[4]; | ||||
| #endif | #endif | ||||
| ▲ Show 20 Lines • Show All 391 Lines • Show Last 20 Lines | |||||