[Bf-blender-cvs] [fbd05d3b6af] blender2.8: Probe: fix grid default resolution.
Clément Foucault
noreply at git.blender.org
Thu Jun 15 01:16:10 CEST 2017
Commit: fbd05d3b6afd207c4de763cfe4341a4da48e55e4
Author: Clément Foucault
Date: Tue Jun 13 17:40:10 2017 +0200
Branches: blender2.8
https://developer.blender.org/rBfbd05d3b6afd207c4de763cfe4341a4da48e55e4
Probe: fix grid default resolution.
===================================================================
M source/blender/blenkernel/intern/lightprobe.c
===================================================================
diff --git a/source/blender/blenkernel/intern/lightprobe.c b/source/blender/blenkernel/intern/lightprobe.c
index e0e778725fc..51fd2504da2 100644
--- a/source/blender/blenkernel/intern/lightprobe.c
+++ b/source/blender/blenkernel/intern/lightprobe.c
@@ -44,6 +44,7 @@ void BKE_lightprobe_init(LightProbe *probe)
{
BLI_assert(MEMCMP_STRUCT_OFS_IS_ZERO(probe, id));
+ probe->grid_resolution_x = probe->grid_resolution_y = probe->grid_resolution_z = 4;
probe->distinf = 5.0f;
probe->distpar = 5.0f;
probe->falloff = 0.2f;
More information about the Bf-blender-cvs
mailing list