Blender Git Commit Log

Git Commits -> Revision d70cfb9

Revision d70cfb9 by Pablo Dobarro (master)
May 13, 2021, 22:56 (GMT)
Fix Sculpt tools showing the cursor of the previous active brush

When using a tool that is not a brush, the previously used brush
preset will still be active in the tool settings, so the cursor will
draw its custom reviews.
This checks if the current active tool is a brush before drawing its
previews. If it is not a brush tools, it draws a default white cursor.

Reviewed By: sergey

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

Commit Details:

Full Hash: d70cfb90e0fab7ba56c02b9016bcd5a54ebf2398
Parent Commit: 01a614c
Lines Changed: +21, -12

4 Modified Paths:

/source/blender/editors/sculpt_paint/paint_cursor.c (+16, -7) (Diff)
/source/blender/editors/sculpt_paint/paint_intern.h (+1, -1) (Diff)
/source/blender/editors/sculpt_paint/paint_stroke.c (+3, -3) (Diff)
/source/blender/editors/sculpt_paint/sculpt.c (+1, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021