Fix T41149: Dissolve Crash Due to AutoSmooth.

bmesh's 'Join Edge Kill Vert' was using own code to delete loops, instead of
using `bm_kill_only_loop()`, which did not tag loop indices as dirty (causing
the crash), but also did not free loop's CDData...
This commit is contained in:
Bastien Montagne 2014-07-24 09:15:38 +02:00
parent 1cbe85b156
commit f5cee25a12
Notes: blender-bot 2023-02-14 10:18:52 +01:00
Referenced by issue #41149, Dissolve Crash Due to AutoSmooth
1 changed files with 1 additions and 2 deletions

View File

@ -1732,8 +1732,7 @@ BMEdge *bmesh_jekv(BMesh *bm, BMEdge *e_kill, BMVert *v_kill,
l_kill = l_kill->radial_next;
}
for (i = 0; i < radlen; i++) {
bm->totloop--;
BLI_mempool_free(bm->lpool, loops[i]);
bm_kill_only_loop(bm, loops[i]);
}
}
#ifndef NDEBUG