Changeset View
Changeset View
Standalone View
Standalone View
source/blender/bmesh/intern/bmesh_construct.c
| Context not available. | |||||
| const BMVert *source_vertex, BMVert *target_vertex) | const BMVert *source_vertex, BMVert *target_vertex) | ||||
| { | { | ||||
| if ((source_mesh == target_mesh) && (source_vertex == target_vertex)) { | if ((source_mesh == target_mesh) && (source_vertex == target_vertex)) { | ||||
| BLI_assert(!"BMVert: source and targer match"); | BLI_assert(!"BMVert: source and target match"); | ||||
| return; | return; | ||||
| } | } | ||||
| copy_v3_v3(target_vertex->no, source_vertex->no); | copy_v3_v3(target_vertex->no, source_vertex->no); | ||||
| Context not available. | |||||
| const BMEdge *source_edge, BMEdge *target_edge) | const BMEdge *source_edge, BMEdge *target_edge) | ||||
| { | { | ||||
| if ((source_mesh == target_mesh) && (source_edge == target_edge)) { | if ((source_mesh == target_mesh) && (source_edge == target_edge)) { | ||||
| BLI_assert(!"BMEdge: source and targer match"); | BLI_assert(!"BMEdge: source and target match"); | ||||
| return; | return; | ||||
| } | } | ||||
| CustomData_bmesh_free_block_data(&target_mesh->edata, target_edge->head.data); | CustomData_bmesh_free_block_data(&target_mesh->edata, target_edge->head.data); | ||||
| Context not available. | |||||
| const BMLoop *source_loop, BMLoop *target_loop) | const BMLoop *source_loop, BMLoop *target_loop) | ||||
| { | { | ||||
| if ((source_mesh == target_mesh) && (source_loop == target_loop)) { | if ((source_mesh == target_mesh) && (source_loop == target_loop)) { | ||||
| BLI_assert(!"BMLoop: source and targer match"); | BLI_assert(!"BMLoop: source and target match"); | ||||
| return; | return; | ||||
| } | } | ||||
| CustomData_bmesh_free_block_data(&target_mesh->ldata, target_loop->head.data); | CustomData_bmesh_free_block_data(&target_mesh->ldata, target_loop->head.data); | ||||
| Context not available. | |||||
| const BMFace *source_face, BMFace *target_face) | const BMFace *source_face, BMFace *target_face) | ||||
| { | { | ||||
| if ((source_mesh == target_mesh) && (source_face == target_face)) { | if ((source_mesh == target_mesh) && (source_face == target_face)) { | ||||
| BLI_assert(!"BMFace: source and targer match"); | BLI_assert(!"BMFace: source and target match"); | ||||
| return; | return; | ||||
| } | } | ||||
| copy_v3_v3(target_face->no, source_face->no); | copy_v3_v3(target_face->no, source_face->no); | ||||
| Context not available. | |||||