Fix T56722: Crash - Entering mesh Edit Mode.
Seriously...
This commit is contained in:
parent
31b8dbf8c0
commit
5a1e9e5af8
Notes:
blender-bot
2023-02-14 10:48:33 +01:00
Referenced by issue #56722, Crash - Entering mesh Edit Mode Referenced by issue #56716, 'Mark Freestyle Edge' is crashing
|
@ -1343,7 +1343,7 @@ static uchar mesh_render_data_looptri_flag(MeshRenderData *rdata, const BMFace *
|
|||
|
||||
#ifdef WITH_FREESTYLE
|
||||
BMesh *bm = rdata->edit_bmesh->bm;
|
||||
if (CustomData_has_layer(&bm->edata, CD_FREESTYLE_EDGE)) {
|
||||
if (CustomData_has_layer(&bm->pdata, CD_FREESTYLE_FACE)) {
|
||||
FreestyleFace *ffa = CustomData_bmesh_get(&bm->pdata, efa->head.data, CD_FREESTYLE_FACE);
|
||||
|
||||
if (ffa->flag & FREESTYLE_FACE_MARK)
|
||||
|
|
Loading…
Reference in New Issue