diff options
author | Aras Pranckevicius <aras@nesnausk.org> | 2022-09-14 22:50:46 +0300 |
---|---|---|
committer | Aras Pranckevicius <aras@nesnausk.org> | 2022-09-14 22:51:00 +0300 |
commit | 42fe0b6dfcc276f5db1461add1e24aea55ca1131 (patch) | |
tree | 1f099df41749b15730a4697ec20f1afe9eb763d0 /release | |
parent | 6d4d74172bac0a473bf0b389b5e402c51269042c (diff) |
Attributes: add color_srgb property to FloatColorAttributeValue and ByteColorAttributeValue
This patch adds color_srgb property to FloatColorAttributeValue and
ByteColorAttributeValue, so Python code can do
`layer.data.foreach_get("color_srgb", ...)` to fetch the data
efficiently, if it needs it in sRGB color space.
Reviewed By: Bastien Montagne
Differential Revision: https://developer.blender.org/D15966
Diffstat (limited to 'release')
0 files changed, 0 insertions, 0 deletions