mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-03 17:33:25 +00:00
color_frame: Fix #13887 Pixel display not updating on Image encoding change
A GimpColorFrame's GeglColor's Babl format's precision is set to the image's precision when picked. On an Image encoding change to a different precision the colors are perceptually identical, but for Sample Points set to 'Pixel' we need to run gimp_color_frame_update after updating the frame's color to the higher precision one.
This commit is contained in:
parent
ebd5e1966e
commit
a4fba54c1b
1 changed files with 5 additions and 4 deletions
|
@ -617,6 +617,7 @@ gimp_color_frame_set_color (GimpColorFrame *frame,
|
|||
frame->sample_average == sample_average &&
|
||||
frame->x == x &&
|
||||
frame->y == y &&
|
||||
gegl_color_get_format (frame->color) == gegl_color_get_format (color) &&
|
||||
gimp_color_is_perceptually_identical (frame->color, color))
|
||||
{
|
||||
g_clear_object (&frame->color);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue