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:
authorClément Foucault <foucault.clem@gmail.com>2017-06-13 18:40:10 +0300
committerClément Foucault <foucault.clem@gmail.com>2017-06-15 01:53:41 +0300
commitfbd05d3b6afd207c4de763cfe4341a4da48e55e4 (patch)
treed91dd701aa7cb16420a9e810f509c86a3d3ee011 /source/blender/blenkernel/intern/lightprobe.c
parentdccf46f18ffe741ae5f0193b75d4a5688096cf9a (diff)
Probe: fix grid default resolution.
Diffstat (limited to 'source/blender/blenkernel/intern/lightprobe.c')
-rw-r--r--source/blender/blenkernel/intern/lightprobe.c1
1 files changed, 1 insertions, 0 deletions
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;