Fix T60332: Lattice objects do not display properly in Edit mode
This was caused by wires not having alpha by default, making them disapear with MSAA.
This commit is contained in:
parent
630a7e73bc
commit
dd5602a1e5
Notes:
blender-bot
2023-02-14 04:09:00 +01:00
Referenced by issue #60332, Lattice objects do not display properly in Edit mode
|
@ -426,6 +426,7 @@ static GPUVertBuf *lattice_batch_cache_get_pos(LatticeRenderData *rdata, Lattice
|
|||
if (use_weight) {
|
||||
float w_col[4];
|
||||
lattice_render_data_weight_col_get(rdata, i, actdef, w_col);
|
||||
w_col[3] = 1.0f;
|
||||
|
||||
GPU_vertbuf_attr_set(cache->pos, attr_id.col, i, w_col);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue