Blender Git Loki

Git Commits -> Revision 3801734

September 25, 2019, 01:45 (GMT)
Fix paint cursor drawing asserts

The new paint cursor (introduced in rBe0c792135adf) mixed 3d and 2d
drawing leading to asserts [e.g. when tablet pressure sensitivity was
enabled for size, see D5820 also].

We could get away with always drawing in 3D [using vertformat with
comp_len 3 / GPU_SHADER_3D_UNIFORM_COLOR / imm_draw_circle_wire_3d],
even if in the Image Editor, but this patch clearly separates what is
drawn in 3d and what is in 2d.

part of T69957

Reviewers: jbakker

Differential Revision: https://developer.blender.org/D5836

Commit Details:

Full Hash: 3801734e08429277b634ac1b3ec4228bee79279e
Parent Commit: 1b84276
Committed By: YimingWu
Lines Changed: +201, -173

1 Modified Path:

/source/blender/editors/sculpt_paint/paint_cursor.c (+201, -173) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021