Fix T60441: entering hex color in picker gives wrong result.
authorBrecht Van Lommel <brechtvanlommel@gmail.com>
Mon, 14 Jan 2019 12:09:06 +0000 (13:09 +0100)
committerBrecht Van Lommel <brechtvanlommel@gmail.com>
Mon, 14 Jan 2019 12:09:06 +0000 (13:09 +0100)
source/blender/editors/interface/interface_region_color_picker.c

index 8830fc6..d354b1e 100644 (file)
@@ -288,7 +288,7 @@ static void ui_colorpicker_hex_rna_cb(bContext *UNUSED(C), void *bt1, void *hexc
                IMB_colormanagement_srgb_to_scene_linear_v3(rgb);
        }
 
-       ui_update_color_picker_buts_rgb(NULL, but->block, cpicker, rgb);
+       ui_update_color_picker_buts_rgb(but, but->block, cpicker, rgb);
 
        if (popup)
                popup->menuretval = UI_RETURN_UPDATE;