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:
authorDalai Felinto <dfelinto@gmail.com>2019-01-04 16:15:23 +0300
committerDalai Felinto <dfelinto@gmail.com>2019-01-04 16:27:28 +0300
commit1753177ad8acfabbcc74c3d8e20fa874f2b97167 (patch)
tree67416f72200341afe23f6f0b17db9d9543cb7b16 /source/blender/makesrna/intern/rna_scene.c
parent32ae3abbab266fb4bccdad2568fd5ec2cc28b843 (diff)
Partial fix T60148: EEVEE hangs when anamorphic bokeh is too low
Fixed by setting the limit to the original limit I used for Cycles. Rendering still goes extremely slow when bokeh is lower than 1.0. But at least now it is "waitable". With lower numbers than 0.01 I don't think we would ever get a render to finish. @fclem feel free to address the real root of the problem, but I'm afraid it may be a limitation of the algorithm you are using.
Diffstat (limited to 'source/blender/makesrna/intern/rna_scene.c')
-rw-r--r--source/blender/makesrna/intern/rna_scene.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_scene.c b/source/blender/makesrna/intern/rna_scene.c
index ee306558a68..85c2612ea85 100644
--- a/source/blender/makesrna/intern/rna_scene.c
+++ b/source/blender/makesrna/intern/rna_scene.c
@@ -4112,7 +4112,7 @@ static void rna_def_gpu_dof_fx(BlenderRNA *brna)
prop = RNA_def_property(srna, "ratio", PROP_FLOAT, PROP_NONE);
RNA_def_property_ui_text(prop, "Ratio", "Distortion to simulate anamorphic lens bokeh");
RNA_def_property_float_default(prop, 1.0f);
- RNA_def_property_range(prop, 0.0000001f, FLT_MAX);
+ RNA_def_property_range(prop, 0.01f, FLT_MAX);
RNA_def_property_ui_range(prop, 1.0f, 2.0f, 0.1, 3);
RNA_def_property_update(prop, NC_SPACE | ND_SPACE_VIEW3D, NULL);
}