bmesh api:

* added BM_elem_flag_set, BMO_elem_flag_set. to avoid 'if(...) enable(); else disable();' all over the place.
* added bmesh_operator_api_inline.c, the header file was getting messy.
This commit is contained in:
2012-02-25 19:43:51 +00:00
parent 0096370db8
commit 55e68985e7
21 changed files with 272 additions and 280 deletions

View File

@@ -1407,6 +1407,8 @@ void bmesh_contextual_create_exec(BMesh *bm, BMOperator *op)
printf("cannot find nice quad from concave set of vertices\n");
}
if (f) BMO_elem_flag_enable(bm, f, ELE_OUT);
if (f) {
BMO_elem_flag_enable(bm, f, ELE_OUT);
}
}
}