Page MenuHome

Fix T73656: Use BKE_brush_alpha_get in texture paint
ClosedPublic

Authored by Pablo Dobarro (pablodp606) on Feb 10 2020, 8:31 PM.

Details

Summary

The code was using brush->alpha directly, so the alpha value from
UnifiedPaintSettings was not used when eneabled.

Diff Detail

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

Event Timeline

For performance it's better to move this outside the loop, now that it's a more expensive function call.

This revision is now accepted and ready to land.Feb 11 2020, 5:31 PM