diff options
author | Jeroen Bakker <j.bakker@atmind.nl> | 2019-05-08 16:38:11 +0300 |
---|---|---|
committer | Jeroen Bakker <j.bakker@atmind.nl> | 2019-05-09 15:45:45 +0300 |
commit | 0764cfe3deea2d39376a660ff06e8dc17f6401ba (patch) | |
tree | f12eab97bb5a227c9f2ace59edaad37f90e3062a /source/blender/makesrna/intern/rna_scene.c | |
parent | 54ec0559c8ef203f2c029fc0e43373538ae5515f (diff) |
Workbench: Viewport AA Preferences
In recent changes the viewport_quality setting was not working what
users expected. This change will separate the anti-aliasing method that
is being used.
We now have three settings:
* scene.display.render_aa: Will be used during `Render Image`.
* scene.display.viewport_aa: Will be used during `Viewport Render Image`.
* userpref.viewport_aa: Will be used in the 3d view.
The viewport_quality setting has been replaced by the viewport_aa
setting as it was the only thing in currently controlled.
Reviewed By: brecht
Maniphest Tasks: T64132
Differential Revision: https://developer.blender.org/D4828
Diffstat (limited to 'source/blender/makesrna/intern/rna_scene.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_scene.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_scene.c b/source/blender/makesrna/intern/rna_scene.c index f1452d001bc..9664fbd3305 100644 --- a/source/blender/makesrna/intern/rna_scene.c +++ b/source/blender/makesrna/intern/rna_scene.c @@ -6592,13 +6592,14 @@ static void rna_def_scene_display(BlenderRNA *brna) prop = RNA_def_property(srna, "render_aa", PROP_ENUM, PROP_NONE); RNA_def_property_enum_items(prop, rna_enum_scene_display_aa_methods); - RNA_def_property_ui_text(prop, "Render Anti-Aliasing", "Method of anti-aliasing when rendering"); + RNA_def_property_ui_text( + prop, "Render Anti-Aliasing", "Method of anti-aliasing when rendering final image"); RNA_def_property_clear_flag(prop, PROP_ANIMATABLE); prop = RNA_def_property(srna, "viewport_aa", PROP_ENUM, PROP_NONE); RNA_def_property_enum_items(prop, rna_enum_scene_display_aa_methods); RNA_def_property_ui_text( - prop, "Viewport Anti-Aliasing", "Method of anti-aliasing in 3d viewport"); + prop, "Viewport Anti-Aliasing", "Method of anti-aliasing when rendering 3d viewport"); RNA_def_property_clear_flag(prop, PROP_ANIMATABLE); /* OpenGL render engine settings. */ |