Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/space_file/file_draw.c
| Context not available. | |||||
| BLI_assert(imb != NULL); | BLI_assert(imb != NULL); | ||||
| /* Icons are not scaled up beyond their original size | |||||
| but thumbnails are always scaled*/ | |||||
| if ((imb->x * UI_DPI_FAC > layout->prv_w) || | if ((imb->x * UI_DPI_FAC > layout->prv_w) || | ||||
| (imb->y * UI_DPI_FAC > layout->prv_h)) | (imb->y * UI_DPI_FAC > layout->prv_h) || | ||||
| !is_icon) | |||||
| { | { | ||||
| if (imb->x > imb->y) { | if (imb->x > imb->y) { | ||||
| scaledx = (float)layout->prv_w; | scaledx = (float)layout->prv_w; | ||||
| Context not available. | |||||