Fix (unreported) (2d) paint cursor always drawing in half alpha
Own mistake in rB078fcc62534c (should only switch to half alpha if we draw the second pressure circle as well...)
This commit is contained in:
parent
f547c396e1
commit
bab6ede286
|
@ -1297,9 +1297,9 @@ static void paint_draw_cursor(bContext *C, int x, int y, void *UNUSED(unused))
|
|||
if (ups->stroke_active && BKE_brush_use_size_pressure(scene, brush)) {
|
||||
imm_draw_circle_wire_2d(
|
||||
pos, translation[0], translation[1], final_radius * ups->size_pressure_value, 40);
|
||||
/* outer at half alpha */
|
||||
immUniformColor3fvAlpha(outline_col, outline_alpha * 0.5f);
|
||||
}
|
||||
/* outer at half alpha */
|
||||
immUniformColor3fvAlpha(outline_col, outline_alpha * 0.5f);
|
||||
|
||||
GPU_line_width(1.0f);
|
||||
imm_draw_circle_wire_2d(pos, translation[0], translation[1], final_radius, 40);
|
||||
|
|
Loading…
Reference in New Issue