Page MenuHome

Workbench: Integration VertexPaint and WeightPaint modes
ClosedPublic

Authored by Jeroen Bakker (jbakker) on Apr 30 2018, 3:02 PM.

Details

Summary
  • Disable VertexPaint and WeightPaint for OB_MATERIAL and OB_RENDER. Users want to see the final result
  • When in OB_SOLID, the active object should be rendered without any color. The lighting information is multiplied with the VertexPaint/WeightPaint color
  • Removed the use_shading flag from VertexPaint and WeightPaint
  • add method to check if render engine should draw without color (DRW_object_in_only_lighting_mode)

Diff Detail

Repository
rB Blender
Branch
arcpatch-D3191 (branched from blender2.8)
Build Status
Buildable 1473
Build 1473: arc lint + arc unit

Event Timeline

source/blender/draw/intern/DRW_render.h
461

Name it DRW_object_is_paint_mode that would be more accurate and more following other functions naming.

This revision was not accepted when it landed; it landed in state Needs Review.Apr 30 2018, 3:55 PM
This revision was automatically updated to reflect the committed changes.