Blender Git Commit Log

Git Commits -> Revision c08827e

Revision c08827e by Jeroen Bakker (master)
November 12, 2020, 08:13 (GMT)
Fix T82093: Sampled Colors Mismatch When Painting (Partial)

When painting in the image editor on data images (Non-color, Raw) the
color mismatched between the sampled color and the actual effect that
the painting has on the image. The root cause is that the sampling is
color managed, but the painting still uses a fixed color management
pipeline with a lot of assumptions. Due to recent changes the drawing
of the image editor is color managed, but the painting isn't what made
these changes show up.

This patch is a work-a-round so that the sampled colors and the effect
the paint has on the texture matches. This isn't the correct solution
as that would be to migrate all the painting tools to use proper color
management.

Reviewed By: Pablo Dobarro

Differential Revision: https://developer.blender.org/D9411

Commit Details:

Full Hash: c08827e659e5f48034b4f9d4612bd309ea63ff03
Parent Commit: f93081a
Lines Changed: +18, -5

4 Modified Paths:

/source/blender/editors/include/ED_image.h (+2, -1) (Diff)
/source/blender/editors/interface/interface_eyedropper_color.c (+1, -1) (Diff)
/source/blender/editors/sculpt_paint/paint_utils.c (+6, -2) (Diff)
/source/blender/editors/space_image/image_ops.c (+9, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021