diff options
author | Jeroen Bakker <j.bakker@atmind.nl> | 2018-05-23 09:54:58 +0300 |
---|---|---|
committer | Jeroen Bakker <j.bakker@atmind.nl> | 2018-05-23 09:55:14 +0300 |
commit | 8ac8ef8ec7c801d0f3ecf8d2b9dd62c0deafe2ce (patch) | |
tree | b74726969e0063754ab3667c5f59c27d95a74b8a /source/blender/blenkernel | |
parent | 44f78c95be133db75d439d4e4d5d6fdd5720f463 (diff) |
Workbench: Studiolights merge error?
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r-- | source/blender/blenkernel/intern/studiolight.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/studiolight.c b/source/blender/blenkernel/intern/studiolight.c index f4884c49271..8086156d3af 100644 --- a/source/blender/blenkernel/intern/studiolight.c +++ b/source/blender/blenkernel/intern/studiolight.c @@ -313,6 +313,7 @@ static void studiolight_calculate_irradiance(StudioLight *sl, float color[3], co } mul_v3_fl(color, 1.25 / (STUDIOLIGHT_RADIANCE_CUBEMAP_SIZE * STUDIOLIGHT_RADIANCE_CUBEMAP_SIZE)); + return; fail: /* Pink color of failure. */ |