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:
authorTon Roosendaal <ton@blender.org>2011-01-29 19:27:48 +0300
committerTon Roosendaal <ton@blender.org>2011-01-29 19:27:48 +0300
commitaef43569094a7546c91715fe1ac4efa0bbbe0c83 (patch)
tree8294fac6c87bbed0542347477e08db65b87b5a00 /source/blender/makesrna/intern/rna_material.c
parentbcacaa3901386fdb32b6b495dd84faf0217ea637 (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/makesrna/intern/rna_material.c')
-rw-r--r--source/blender/makesrna/intern/rna_material.c2
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");