Remove debug ATTR_NO_OPT

This commit is contained in:
Joseph Eagar 2021-11-16 13:32:28 -08:00
parent cddcc54f32
commit 581dc18c08
2 changed files with 2 additions and 2 deletions

View File

@ -2320,7 +2320,7 @@ void BKE_pbvh_build_bmesh(PBVH *pbvh,
pbvh_bmesh_create_nodes_fast_recursive_create(pbvh, nodeinfo, bbc_array, &rootnode);
if (!totleaf) {
leaves = MEM_mallocN(sizeof(void*), "leaves");
leaves = MEM_mallocN(sizeof(void *), "leaves");
totleaf = 1;
leaves[0] = &rootnode;

View File

@ -192,7 +192,7 @@ void bm_id_freelist_push(BMesh *bm, uint id)
// static const int _typemap[] = {0, 0, 1, 0, 2, 0, 0, 0, 3};
ATTR_NO_OPT void bm_assign_id_intern(BMesh *bm, BMElem *elem, uint id)
void bm_assign_id_intern(BMesh *bm, BMElem *elem, uint id)
{
// CustomData *cdata = &bm->vdata + _typemap[elem->head.htype];
// int cd_id_off = cdata->layers[cdata->typemap[CD_MESH_ID]].offset;