[Bf-blender-cvs] [6d0dbd31695] blender2.8: Probe: Irradiance Volume: Fix default clip start.

Clément Foucault noreply at git.blender.org
Wed Jun 28 16:51:47 CEST 2017


Commit: 6d0dbd31695269622fb0bdf5dfbcbe6f81e95065
Author: Clément Foucault
Date:   Wed Jun 28 16:31:53 2017 +0200
Branches: blender2.8
https://developer.blender.org/rB6d0dbd31695269622fb0bdf5dfbcbe6f81e95065

Probe: Irradiance Volume: Fix default clip start.

===================================================================

M	source/blender/editors/object/object_add.c

===================================================================

diff --git a/source/blender/editors/object/object_add.c b/source/blender/editors/object/object_add.c
index daa76413b25..6b80de7c41a 100644
--- a/source/blender/editors/object/object_add.c
+++ b/source/blender/editors/object/object_add.c
@@ -542,6 +542,7 @@ static int lightprobe_add_exec(bContext *C, wmOperator *op)
 		case LIGHTPROBE_TYPE_GRID:
 			probe->distinf = 0.3f;
 			probe->falloff = 1.0f;
+			probe->clipsta = 0.01f;
 			break;
 		case LIGHTPROBE_TYPE_PLANAR:
 			probe->distinf = 0.1f;




More information about the Bf-blender-cvs mailing list