Fix T70328: Crash when editing loopcuts with AutoMerge & Split option
This commit is contained in:
parent
72666ae3e7
commit
6700027863
Notes:
blender-bot
2023-02-14 07:25:46 +01:00
Referenced by issue #70328, crash : loopcut number of cuts
|
@ -650,6 +650,8 @@ bool BM_mesh_intersect_edges(BMesh *bm, const char hflag, const float dist, GHas
|
|||
BMEdge *e;
|
||||
int i;
|
||||
|
||||
BM_mesh_elem_table_ensure(bm, BM_VERT | BM_EDGE);
|
||||
|
||||
/* Store all intersections in this array. */
|
||||
struct EDBMSplitElem(*pair_iter)[2], (*pair_array)[2] = NULL;
|
||||
BLI_Stack *pair_stack = BLI_stack_new(sizeof(*pair_array), __func__);
|
||||
|
|
Loading…
Reference in New Issue