diff options
author | William Reynish <billrey@me.com> | 2019-02-20 20:02:26 +0300 |
---|---|---|
committer | William Reynish <billrey@me.com> | 2019-02-20 20:02:26 +0300 |
commit | 3f65cad5aedef8e413140c77cd5c91d8e66af524 (patch) | |
tree | 632fa00b75d4d9ac2330e7edb26cbfacb68ad76c /source | |
parent | 27c72e22aa41e13cb94bb3e5f9a59b960ba5aa09 (diff) |
Units: Use pixels for denoising radius property, and set Cycles motion blur duration to factor.
Also fix own mistake of using of spaces instead of tabs in RNA.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/makesrna/intern/rna_scene.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_scene.c b/source/blender/makesrna/intern/rna_scene.c index dcdd0c0710b..e91670ea61c 100644 --- a/source/blender/makesrna/intern/rna_scene.c +++ b/source/blender/makesrna/intern/rna_scene.c @@ -5045,7 +5045,7 @@ static void rna_def_scene_render_data(BlenderRNA *brna) prop = RNA_def_property(srna, "motion_blur_shutter", PROP_FLOAT, PROP_FACTOR); RNA_def_property_float_sdna(prop, NULL, "blurfac"); - RNA_def_property_range(prop, 0.01f, 2.0f); + RNA_def_property_range(prop, 0.01f, 2.0f); RNA_def_property_ui_range(prop, 0.01f, 1.0f, 1, 2); RNA_def_property_ui_text(prop, "Shutter", "Time taken in frames between shutter open and close"); RNA_def_property_update(prop, NC_SCENE | ND_RENDER_OPTIONS, "rna_Scene_glsl_update"); @@ -6217,7 +6217,7 @@ static void rna_def_scene_eevee(BlenderRNA *brna) prop = RNA_def_property(srna, "motion_blur_shutter", PROP_FLOAT, PROP_FACTOR); RNA_def_property_float_default(prop, 1.0f); RNA_def_property_ui_text(prop, "Shutter", "Time taken in frames between shutter open and close"); - RNA_def_property_range(prop, 0.01f, 2.0f); + RNA_def_property_range(prop, 0.01f, 2.0f); RNA_def_property_ui_range(prop, 0.01f, 1.0f, 1, 2); RNA_def_property_override_flag(prop, PROPOVERRIDE_OVERRIDABLE_STATIC); |