diff options
author | Brecht Van Lommel <brecht@blender.org> | 2020-07-02 12:15:26 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2020-07-03 13:36:17 +0300 |
commit | 4ccd96f1a43c145657eb198cd8dbd00b7ca79799 (patch) | |
tree | cbc59966e00f38ebc52e11663c50d92aec6852f6 /intern/cycles/blender/addon/properties.py | |
parent | 83eeaddce8a76b73b849f25ea11e492198223bff (diff) |
Cycles: rename viewport denoise Fastest option to Automatic and extend tooltip
Diffstat (limited to 'intern/cycles/blender/addon/properties.py')
-rw-r--r-- | intern/cycles/blender/addon/properties.py | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/intern/cycles/blender/addon/properties.py b/intern/cycles/blender/addon/properties.py index 840efb65d96..da706451f88 100644 --- a/intern/cycles/blender/addon/properties.py +++ b/intern/cycles/blender/addon/properties.py @@ -196,14 +196,11 @@ def enum_preview_denoiser(self, context): optix_items = enum_optix_denoiser(self, context) oidn_items = enum_openimagedenoise_denoiser(self, context) - if len(optix_items): - auto_label = "Fastest (Optix)" - elif len(oidn_items): - auto_label = "Fastest (OpenImageDenoise)" + if len(optix_items) or len(oidn_items): + items = [('AUTO', "Automatic", "Use the fastest available denoiser for viewport rendering (OptiX if available, OpenImageDenoise otherwise)", 0)] else: - auto_label = "None" + items = [('AUTO', "None", "Blender was compiled without a viewport denoiser", 0)] - items = [('AUTO', auto_label, "Use the fastest available denoiser for viewport rendering", 0)] items += optix_items items += oidn_items return items |