Overlays: Fix dashed curves and loose edges

This commit is contained in:
Clément Foucault 2019-12-02 17:33:21 +01:00
parent 35217b4c06
commit 6d2bc870a7
1 changed files with 2 additions and 1 deletions

View File

@ -249,7 +249,8 @@ void OVERLAY_extra_wire(OVERLAY_ExtraCallBuffers *cb,
const float color[4])
{
float draw_mat[4][4];
pack_v4_in_mat4(draw_mat, mat, color);
float col[4] = {UNPACK3(color), 0.0f /* No stipples. */};
pack_v4_in_mat4(draw_mat, mat, col);
DRW_shgroup_call_obmat(cb->extra_wire, geom, draw_mat);
}