Fix T66983 Wireframe Display in edit mode edges missing when overlays are disabled
This commit is contained in:
parent
4404a0dcd4
commit
d061154b93
Notes:
blender-bot
2023-02-14 07:36:17 +01:00
Referenced by issue #67018, Crash when switching to the UV Editing workspace Referenced by issue #66983, Wireframe Display in edit mode edges missing when overlays are disabled
|
@ -3018,7 +3018,7 @@ static void mesh_create_loop_edge_fac(MeshRenderData *rdata, GPUVertBuf *vbo)
|
|||
BM_ITER_ELEM (loop, &iter_loop, efa, BM_LOOPS_OF_FACE) {
|
||||
float ratio = mesh_loop_edge_factor_get(
|
||||
efa->no, loop->v->co, loop->v->no, loop->next->v->co);
|
||||
vertbuf_raw_step(&wd_step, ratio * 255);
|
||||
vertbuf_raw_step(&wd_step, ratio * 253 + 1);
|
||||
}
|
||||
}
|
||||
BLI_assert(GPU_vertbuf_raw_used(&wd_step) == loop_len);
|
||||
|
|
Loading…
Reference in New Issue