Page MenuHome

PaintModes: Fix Drawing in Wireframe Non X-Ray Mode
ClosedPublic

Authored by Jeroen Bakker (jbakker) on Jul 25 2019, 9:12 AM.

Details

Summary

Vertex+Weight paint modes uses a multiply over blending. This makes sure
that the shading is not lost. In wireframe this lead to render artifacts
as there is no object shading it used the background color.

Diff Detail

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

Event Timeline

Jeroen Bakker (jbakker) retitled this revision from PaintModes: Fix Drawing in Wireframe Mode to PaintModes: Fix Drawing in Wireframe Non X-Ray Mode.Jul 25 2019, 9:13 AM

Nothing much to add.

source/blender/draw/modes/paint_vertex_mode.c
209

I don't feel like this need to be a separate function. It's unlikely to be reused.

This revision is now accepted and ready to land.Aug 7 2019, 8:50 PM
This revision was automatically updated to reflect the committed changes.
Jeroen Bakker (jbakker) marked an inline comment as done.