[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [14052] trunk/blender/source/blender/src/ buttons_shading.c: Increased the maximum allowed 'Max Dist' value in raytraced reflections

Matt Ebb matt at mke3.net
Tue Mar 11 01:45:55 CET 2008


Revision: 14052
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=14052
Author:   broken
Date:     2008-03-11 01:45:44 +0100 (Tue, 11 Mar 2008)

Log Message:
-----------
Increased the maximum allowed 'Max Dist' value in raytraced reflections

Modified Paths:
--------------
    trunk/blender/source/blender/src/buttons_shading.c

Modified: trunk/blender/source/blender/src/buttons_shading.c
===================================================================
--- trunk/blender/source/blender/src/buttons_shading.c	2008-03-10 21:30:35 UTC (rev 14051)
+++ trunk/blender/source/blender/src/buttons_shading.c	2008-03-11 00:45:44 UTC (rev 14052)
@@ -3596,7 +3596,7 @@
 	yco -= YSPACE;
  	uiBlockBeginAlign(block);
 	uiDefButF(block, NUM, B_MATPRV, "Max Dist:",
-		X2CLM1, yco-=BUTH, BUTW2, BUTH, &(ma->dist_mir), 0.0, 100.0, 100, 0, "Maximum distance of reflected rays. Reflections further than this range fade to sky color");
+		X2CLM1, yco-=BUTH, BUTW2, BUTH, &(ma->dist_mir), 0.0, 10000.0, 100, 0, "Maximum distance of reflected rays. Reflections further than this range fade to sky color");
 	uiDefButS(block, MENU, B_MATPRV, "Ray end fade-out: %t|Fade to Sky Color %x0|Fade to Material Color %x1",
 		X2CLM1, yco-=BUTH, BUTW2, BUTH, &(ma->fadeto_mir), 0, 0, 0, 0, "The color that rays with no intersection within the Max Distance take. Material color can be best for indoor scenes, sky color for outdoor.");
 	uiBlockEndAlign(block);





More information about the Bf-blender-cvs mailing list