diff options
author | Ton Roosendaal <ton@blender.org> | 2011-01-29 19:27:48 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2011-01-29 19:27:48 +0300 |
commit | aef43569094a7546c91715fe1ac4efa0bbbe0c83 (patch) | |
tree | 8294fac6c87bbed0542347477e08db65b87b5a00 /source/blender | |
parent | bcacaa3901386fdb32b6b495dd84faf0217ea637 (diff) |
Bug report #25722
Allowing IOR smaller than 1.0.
This is for people who want to trace air bubbles under water :)
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/makesrna/intern/rna_material.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_material.c b/source/blender/makesrna/intern/rna_material.c index 4c8ed475a8d..5b3a31cb703 100644 --- a/source/blender/makesrna/intern/rna_material.c +++ b/source/blender/makesrna/intern/rna_material.c @@ -978,7 +978,7 @@ static void rna_def_material_raytra(BlenderRNA *brna) prop= RNA_def_property(srna, "ior", PROP_FLOAT, PROP_NONE); RNA_def_property_float_sdna(prop, NULL, "ang"); - RNA_def_property_range(prop, 1.0f, 3.0f); + RNA_def_property_range(prop, 0.25f, 4.0f); RNA_def_property_ui_text(prop, "IOR", "Sets angular index of refraction for raytraced refraction"); RNA_def_property_update(prop, 0, "rna_Material_update"); |