Page MenuHome

CustomData color copying: use interpolated alpha
ClosedPublic

Authored by Philipp Oeser (lichtwerk) on Oct 27 2020, 2:06 PM.

Details

Summary

For some (unknown) reason, the alpha of the first layer was always used
here [whereas the rgb was interpolated], see rBee4453f08369.

Now also use the interpolated alpha.

thx @Brecht Van Lommel (brecht) noticing!

Meant to be used with D9357

ref T81914

Diff Detail

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

Event Timeline

Philipp Oeser (lichtwerk) requested review of this revision.Oct 27 2020, 2:06 PM
This revision is now accepted and ready to land.Oct 27 2020, 2:37 PM

Note that when that interpolation code for cdlayers was added vcol did not support any kind of alpha channel, this was added fairly recently (cannot remember when exactly, but think it was for 2.80, in 2019 or something). Guess cdlayer interpolation code was not updated at that point.