Probe: fix grid default resolution.

This commit is contained in:
Clément Foucault 2017-06-13 17:40:10 +02:00
parent dccf46f18f
commit fbd05d3b6a
1 changed files with 1 additions and 0 deletions

View File

@ -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;