Skip to content

Commit

Permalink
use embedded preview even if only auto history applied
Browse files Browse the repository at this point in the history
this fix #7162
  • Loading branch information
AlicVB authored and TurboGit committed Dec 4, 2020
1 parent f3ca882 commit 881e86c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/mipmap_cache.c
Original file line number Diff line number Diff line change
Expand Up @@ -1154,7 +1154,7 @@ static void _init_8(uint8_t *buf, uint32_t *width, uint32_t *height, float *isca
return;
}

const gboolean altered = !dt_image_basic(imgid);
const gboolean altered = dt_image_altered(imgid);
int res = 1;

const dt_image_t *cimg = dt_image_cache_get(darktable.image_cache, imgid, 'r');
Expand Down

0 comments on commit 881e86c

Please sign in to comment.