Conversions needed for color management in GIMP are not feasible in 2
steps, searching 5 deep for commonly used conversions causes severe UI
stalls, lowering the max search depth to 4 avoids this regression
introduced in
51437f216dbbef80f9bf661dd152452083119349, while keeping
the speed-up for other cases.
get_conversion_path (&pc, (Babl *) source, 0, max_path_length (), tolerance);
- /* attempt with path length + 3 */
+ /* attempt with path length + 2 */
if (babl->fish_path.conversion_list->count == 0)
{
- int max_length = max_path_length () + 3;
+ int max_length = max_path_length () + 2;
if (max_length > BABL_HARD_MAX_PATH_LENGTH)
max_length = BABL_HARD_MAX_PATH_LENGTH;