diff options
author | Thomas Dinges <blender@dingto.org> | 2021-11-02 13:07:06 +0300 |
---|---|---|
committer | Thomas Dinges <blender@dingto.org> | 2021-11-02 13:07:06 +0300 |
commit | 2b3becf2be27286d68a49328a13c327d2fa94aeb (patch) | |
tree | b0e13118677cc006572b74545ee82d974e794465 | |
parent | a5b996df88c586d77d083cbbbd2299dc84cb1584 (diff) |
Fix typo in Cycles PMJ enum define.
Reported by Raimund58 in the chat, thanks!
-rw-r--r-- | intern/cycles/blender/addon/properties.py | 4 | ||||
-rw-r--r-- | intern/cycles/blender/addon/version_update.py | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/intern/cycles/blender/addon/properties.py b/intern/cycles/blender/addon/properties.py index c92e0ec65af..3c90ea07cc6 100644 --- a/intern/cycles/blender/addon/properties.py +++ b/intern/cycles/blender/addon/properties.py @@ -87,7 +87,7 @@ enum_use_layer_samples = ( enum_sampling_pattern = ( ('SOBOL', "Sobol", "Use Sobol random sampling pattern", 0), - ('PROGRESSIVE_MUTI_JITTER', "Progressive Multi-Jitter", "Use Progressive Multi-Jitter random sampling pattern", 1), + ('PROGRESSIVE_MULTI_JITTER', "Progressive Multi-Jitter", "Use Progressive Multi-Jitter random sampling pattern", 1), ) enum_volume_sampling = ( @@ -339,7 +339,7 @@ class CyclesRenderSettings(bpy.types.PropertyGroup): name="Sampling Pattern", description="Random sampling pattern used by the integrator. When adaptive sampling is enabled, Progressive Multi-Jitter is always used instead of Sobol", items=enum_sampling_pattern, - default='PROGRESSIVE_MUTI_JITTER', + default='PROGRESSIVE_MULTI_JITTER', ) scrambling_distance: FloatProperty( diff --git a/intern/cycles/blender/addon/version_update.py b/intern/cycles/blender/addon/version_update.py index 76bc765ec1d..dab62713525 100644 --- a/intern/cycles/blender/addon/version_update.py +++ b/intern/cycles/blender/addon/version_update.py @@ -243,7 +243,7 @@ def do_versions(self): cscene.use_preview_denoising = False if not cscene.is_property_set("sampling_pattern") or \ cscene.get('sampling_pattern') >= 2: - cscene.sampling_pattern = 'PROGRESSIVE_MUTI_JITTER' + cscene.sampling_pattern = 'PROGRESSIVE_MULTI_JITTER' # Removal of square samples. cscene = scene.cycles |