diff options
author | Philipp Oeser <info@graphics-engineer.com> | 2020-03-18 21:19:12 +0300 |
---|---|---|
committer | Philipp Oeser <info@graphics-engineer.com> | 2020-03-24 11:44:42 +0300 |
commit | 579447bd892af14a306e29f487ecf11ce226d52e (patch) | |
tree | 30a37bd1b94813b24f947d057d3869541592044a /source/blender/draw/engines/workbench/workbench_data.c | |
parent | 6e4eb2be283606a8cea45904ab57584dc07d1e05 (diff) |
Fix T74096: Paint Masking overlay can`t be hidden
Caused by rB9516921c05bd.
Dont really see a reason to draw overlays here if overlays are disabled.
Looks like this only affects Face/Vertex mask selection drawing [which
should indeed be hidden when overlays are disabled] next to two
exceptions:
- OVERLAY_paint_vertex_cache_populate draws weights as well [D7176 /
T70807 might be related here, but to me it looks like drawing weights
here is actually not needed at all]
- OVERLAY_paint_texture_cache_populate calls
DRW_cache_mesh_surface_texpaint_get [not sure about this one, this is
also called from workbench_cache_texpaint_populate, looks like this is
not needed when overlays are hidden]
Maniphest Tasks: T74096
Differential Revision: https://developer.blender.org/D7179
Diffstat (limited to 'source/blender/draw/engines/workbench/workbench_data.c')
0 files changed, 0 insertions, 0 deletions