diff options
author | Lukas Stockner <lukas.stockner@freenet.de> | 2017-03-27 02:44:44 +0300 |
---|---|---|
committer | Lukas Stockner <lukas.stockner@freenet.de> | 2017-03-27 02:44:44 +0300 |
commit | 6e008e7bb924a8cd09ff98fb8861cbc271409634 (patch) | |
tree | fa43b9a1df656d9823f8ef13e949790e11916d00 /source/blender/blenloader | |
parent | 730635ce2421ff82535602b7fb494739e1b40b05 (diff) | |
parent | 505b3b7328ea25a6b50c93501dde600733370b0f (diff) |
Merge remote-tracking branch 'origin/master' into temp-cycles-denoising
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r-- | source/blender/blenloader/intern/versioning_defaults.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/blenloader/intern/versioning_defaults.c b/source/blender/blenloader/intern/versioning_defaults.c index 99d9e140481..6145b90b406 100644 --- a/source/blender/blenloader/intern/versioning_defaults.c +++ b/source/blender/blenloader/intern/versioning_defaults.c @@ -68,6 +68,10 @@ void BLO_update_defaults_userpref_blend(void) * but take care since some hardware has driver bugs here (T46962). * Further hardware workarounds should be made in gpu_extensions.c */ U.glalphaclip = (1.0f / 255); + + /* default so DPI is detected automatically */ + U.dpi = 0; + U.ui_scale = 1.0f; } /** |