Compositor: Background Fit UI Scale

Make the fit background relative to the UI scale.

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D5150
This commit is contained in:
Jeroen Bakker 2019-06-28 16:15:37 +02:00
parent 5439f682fd
commit ef750790d2
1 changed files with 1 additions and 1 deletions

View File

@ -347,7 +347,7 @@ static int backimage_fit_exec(bContext *C, wmOperator *UNUSED(op))
BKE_image_release_ibuf(ima, ibuf, lock);
snode->zoom *= min_ff(facx, facy);
snode->zoom *= min_ff(facx, facy) * U.dpi_fac;
snode->xof = 0;
snode->yof = 0;