Blender Git Commit Log

Git Commits -> Revision 078fcc6

Revision 078fcc6 by Philipp Oeser (master)
September 20, 2019, 09:56 (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: 078fcc62534c21fd02b6549d51669763649a20f9
Parent Commit: fde8682
Lines Changed: +201, -173

1 Modified Path:

/source/blender/editors/sculpt_paint/paint_cursor.c (+201, -173) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021