Page MenuHome

Fix T74096: Paint Masking overlay can`t be hidden
ClosedPublic

Authored by Philipp Oeser (lichtwerk) on Mar 19 2020, 11:37 AM.

Details

Summary

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, is this needed here
when overlays are hidden?]

Diff Detail

Repository
rB Blender

Event Timeline

As an alternative, Face / Vertex mask could be disabled a bit more explicitly inside OVERLAY_paint_texture_cache_populate / OVERLAY_paint_vertex_cache_populate

This revision is now accepted and ready to land.Mar 23 2020, 6:20 PM