diff options
author | Pablo Dobarro <pablodp606@gmail.com> | 2019-10-30 18:57:11 +0300 |
---|---|---|
committer | Pablo Dobarro <pablodp606@gmail.com> | 2019-10-31 16:45:26 +0300 |
commit | cd827194f7cc771e9947d474ba0e7c4ae2a2aa9a (patch) | |
tree | 2040eabed0a939853a08a30d0b930ad1f1458424 /source/blender/blenloader | |
parent | be2bdaf6aab672feb1961e2b6a2fd09f979bba2e (diff) |
Paint: Option to disable antialiasing
You may want to disable antialiasing if you are working with pixel art
or low resolution textures. It is enabled by default.
Reviewed By: jbakker, campbellbarton
Differential Revision: https://developer.blender.org/D6044
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r-- | source/blender/blenloader/intern/versioning_defaults.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/blenloader/intern/versioning_defaults.c b/source/blender/blenloader/intern/versioning_defaults.c index c9fb8b6990b..9fce89558b6 100644 --- a/source/blender/blenloader/intern/versioning_defaults.c +++ b/source/blender/blenloader/intern/versioning_defaults.c @@ -435,6 +435,9 @@ void BLO_update_defaults_startup_blend(Main *bmain, const char *app_template) * Note that sculpt is an exception, * it's values are overwritten by #BKE_brush_sculpt_reset below. */ brush->alpha = 1.0; + + /* Enable antialiasing by default */ + brush->sampling_flag |= BRUSH_PAINT_ANTIALIASING; } { |