diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-11-14 20:15:48 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-11-14 20:21:28 +0300 |
commit | 6f08124fbd1265dc42edfcb0f7bafe21c08d1827 (patch) | |
tree | e9babce40a50b8c43bf524ab09ba929b524248e3 /source/blender | |
parent | a4fccde67a9b4ab23765acba8932e66a46487511 (diff) |
Fix assert in bevel modifier with certain geometry.
This happened in in the barbershop_interior.blend benchmark file, seems
duplicate hash entries are ok for this algorithm.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/bmesh/tools/bmesh_bevel.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/bmesh/tools/bmesh_bevel.c b/source/blender/bmesh/tools/bmesh_bevel.c index 905131e3318..ad576e61acb 100644 --- a/source/blender/bmesh/tools/bmesh_bevel.c +++ b/source/blender/bmesh/tools/bmesh_bevel.c @@ -5686,6 +5686,7 @@ void BM_mesh_bevel( else { clnordata = mod_bmop_customdata; clnordata->faceHash = BLI_ghash_ptr_new(__func__); + BLI_ghash_flag_set(clnordata->faceHash, GHASH_FLAG_ALLOW_DUPES); bp.faceHash = clnordata->faceHash; } |