bridge tool: fix for error in recent commit. missed NULL check for example face.

This commit is contained in:
2013-05-14 10:56:18 +00:00
parent bcf91e5c91
commit bbea18f8c1
3 changed files with 1 additions and 5 deletions

View File

@@ -303,7 +303,7 @@ static void bridge_loop_pair(BMesh *bm,
}
}
if (f_example != f) {
if (f_example && (f_example != f)) {
BM_elem_attrs_copy(bm, bm, f_example, f);
}
BMO_elem_flag_enable(bm, f, FACE_OUT);