add asserts to ensure face normal is up to date.

This commit is contained in:
2013-07-29 09:12:23 +00:00
parent 02608d257a
commit 1300721d57
3 changed files with 7 additions and 0 deletions

View File

@@ -277,6 +277,8 @@ static void bm_interp_face_store(InterpFace *iface, BMesh *bm, BMFace *f, MemAre
void *axis_mat = iface->axis_mat;
int i;
BLI_assert(BM_face_is_normal_valid(f));
axis_dominant_v3_to_m3(axis_mat, f->no);
iface->f = f;