Fix #33237, crash creeped in due to the fact that bmesh-operator-using modifiers now need to allocate flags. Added initialization

This commit is contained in:
Antony Riakiotakis 2012-11-19 23:33:02 +00:00
parent e174c6a47f
commit b85283b63d

@ -54,7 +54,7 @@ static DerivedMesh *triangulate(DerivedMesh *dm, char use_beauty)
BMesh *bm;
bm = DM_to_bmesh(dm);
BM_mesh_elem_toolflags_ensure(bm);
BMO_push(bm, NULL);
BMO_op_callf(bm, BMO_FLAG_DEFAULTS,
"triangulate faces=%af use_beauty=%b", use_beauty);