Page MenuHome

Fix T72688: Vertex Group Weights in Edit Mode Occludes In Front Armatures
ClosedPublic

Authored by Jeroen Bakker (jbakker) on Mar 31 2020, 3:39 PM.

Details

Summary

Due to legacy this overlay was implemented twice (Edit Mesh and Weight
Painting) with different results. This patch consolidates both drawing
and uses only the Weight Painting drawing.

Diff Detail

Repository
rB Blender
Branch
T72688 (branched from master)
Build Status
Buildable 7385
Build 7385: arc lint + arc unit

Event Timeline

Cleanup unneeded compares

Minor style comment but this is good.

source/blender/draw/engines/overlay/overlay_engine.c
113

Style: Move this to line 109

source/blender/draw/engines/overlay/overlay_paint.c
79

Should be !is_edit_mode for readability

89

Style: Add const bool is_edit_mode = (pd->ctx_mode == CTX_MODE_EDIT_MESH); at line 78 and use it for readability.

This revision is now accepted and ready to land.Apr 1 2020, 11:10 PM