Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Bakker <j.bakker@atmind.nl>2018-06-27 13:55:49 +0300
committerJeroen Bakker <j.bakker@atmind.nl>2018-06-27 13:59:01 +0300
commit20b8e1d8f1ebc4091f59e9bca32264717849a39b (patch)
tree09cabce715e9cdd0b09308a826e6b1d3d32f203a /source/blender/editors
parentcf2dcd57c0a6211de22abbf2c40a6eed80d77416 (diff)
Workbench: Added a quality slider for the viewport
Currently only attached to the Anti Aliasing of the solid mode of the viewport. But eventually we could add other options here. Quality setting can be found in the System tab of the userpref. The slider goes from No Antialiasing (0.0 - 0.1) to FXAA (0.1 - 0.25) to TAA8 (0.25 - 0.6) to TAA16 (0.6 - 0.8) to TAA32 (0.8 - 1.0)
Diffstat (limited to 'source/blender/editors')
-rw-r--r--source/blender/editors/interface/resources.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/interface/resources.c b/source/blender/editors/interface/resources.c
index a04b25672de..3a179c4cd8b 100644
--- a/source/blender/editors/interface/resources.c
+++ b/source/blender/editors/interface/resources.c
@@ -3031,7 +3031,6 @@ void init_userdef_do_versions(Main *bmain)
rgba_char_args_set(ts->panelcolors.sub_back, 0, 0, 0, 25);
}
}
- U.gpu_viewport_antialias = USER_AA_FXAA;
}
/**
@@ -3039,6 +3038,7 @@ void init_userdef_do_versions(Main *bmain)
*/
{
/* (keep this block even if it becomes empty). */
+ U.gpu_viewport_quality = 0.6f;
}
if (((bTheme *)U.themes.first)->tui.manipulator_hi[3] == 0) {