Blender Git Loki

Git Commits -> Revision 727d501

Revision 727d501 by Philipp Oeser (master)
December 11, 2020, 14:32 (GMT)
Fix T82881: Paint mask 'deselect on nothing' missed viewport update

Was failing for weightpaint and vertexpaint.

Selection flags were actually changed, but the update in the viewport
wasnt immediate, leading to confusion when the update happened later
(e.g. when using the weight gradient tool as done in the report).

We need to tag ID_RECALC_SELECT and send ND_SELECT notifier here. This
could be done explicitly, but there is also existing functionality
available that does this.
Note: the way updates happen for paintfaces vs. paintverts looks a bit
inconsistent (so this could be part of a later cleanup commit)

Maniphest Tasks: T82881

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

Commit Details:

Full Hash: 727d5013a7771ffa7d8f1fa799af5142b274c127
Parent Commit: 7c8e013
Lines Changed: +4, -1

1 Modified Path:

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