From b85283b63dd1ad7f360b96b64ee888ed03b6e96d Mon Sep 17 00:00:00 2001 From: Antony Riakiotakis Date: Mon, 19 Nov 2012 23:33:02 +0000 Subject: Fix #33237, crash creeped in due to the fact that bmesh-operator-using modifiers now need to allocate flags. Added initialization --- source/blender/modifiers/intern/MOD_triangulate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/modifiers/intern/MOD_triangulate.c') diff --git a/source/blender/modifiers/intern/MOD_triangulate.c b/source/blender/modifiers/intern/MOD_triangulate.c index a9ec30067bf..c876a12e31a 100644 --- a/source/blender/modifiers/intern/MOD_triangulate.c +++ b/source/blender/modifiers/intern/MOD_triangulate.c @@ -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); -- cgit v1.2.3