Page MenuHome

Fix T99603: node body colors are not colormanged
ClosedPublic

Authored by Philipp Oeser (lichtwerk) on Oct 25 2022, 12:15 PM.

Diff Detail

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

Event Timeline

Philipp Oeser (lichtwerk) requested review of this revision.Oct 25 2022, 12:15 PM
Philipp Oeser (lichtwerk) created this revision.
Philipp Oeser (lichtwerk) planned changes to this revision.Oct 25 2022, 12:30 PM

Hm, lets double-check if this fallback needs to rather check PROP_COLOR_GAMMA vs. PROP_COLOR instead...
https://developer.blender.org/diffusion/B/browse/master/source/blender/editors/interface/eyedroppers/eyedropper_color.c$361

Philipp Oeser (lichtwerk) requested review of this revision.Oct 25 2022, 1:36 PM

Hm, lets double-check if this fallback needs to rather check PROP_COLOR_GAMMA vs. PROP_COLOR instead...
https://developer.blender.org/diffusion/B/browse/master/source/blender/editors/interface/eyedroppers/eyedropper_color.c$361

Even though the above still seems suspicious, excluding IMB_colormanagement_display_to_scene_linear_v3 in the case of just PROP_COLOR (as opposed to PROP_COLOR_GAMMA) only fixes half of the problem (panel displays the color seemingly correct, but then the node body itself displays too dark).

So while still on shaky ground, it still seems better to have the node body color be fully colormanaged for now (will let the experts decide).

This is correct, UI colors should use PROP_COLOR_GAMMA to avoid being affected by scene color management.

This revision is now accepted and ready to land.Oct 25 2022, 1:54 PM