Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntony Riakiotakis <kalast@gmail.com>2012-11-20 03:33:02 +0400
committerAntony Riakiotakis <kalast@gmail.com>2012-11-20 03:33:02 +0400
commitb85283b63dd1ad7f360b96b64ee888ed03b6e96d (patch)
tree86e3aa9a922bce664da7b2f8f93d94eebda7d26f /source/blender/modifiers/intern/MOD_triangulate.c
parente174c6a47f1c557919fdd53a2482d02273372229 (diff)
Fix #33237, crash creeped in due to the fact that bmesh-operator-using modifiers now need to allocate flags. Added initialization
Diffstat (limited to 'source/blender/modifiers/intern/MOD_triangulate.c')
-rw-r--r--source/blender/modifiers/intern/MOD_triangulate.c2
1 files changed, 1 insertions, 1 deletions
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);