[Bf-blender-cvs] [90751d1835a] master: Fix compiler error in Windows

Antonio Vazquez noreply at git.blender.org
Tue Aug 27 11:14:43 CEST 2019


Commit: 90751d1835ade00e94cac47142974068ca24b23e
Author: Antonio Vazquez
Date:   Tue Aug 27 11:14:10 2019 +0200
Branches: master
https://developer.blender.org/rB90751d1835ade00e94cac47142974068ca24b23e

Fix compiler error in Windows

This error was introduced in commit https://developer.blender.org/rB66700196074ad168f3322f2766846a0a07f7a00f

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

M	source/blender/blenkernel/intern/studiolight.c

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

diff --git a/source/blender/blenkernel/intern/studiolight.c b/source/blender/blenkernel/intern/studiolight.c
index 8466f9eaa98..b3f2a624ebe 100644
--- a/source/blender/blenkernel/intern/studiolight.c
+++ b/source/blender/blenkernel/intern/studiolight.c
@@ -433,7 +433,7 @@ static void studiolight_load_equirect_image(StudioLight *sl)
          * This file is currently only supported for MATCAPS where
          * the first found 'diffuse' pass will be used for diffuse lighting
          * and the first found 'specular' pass will be used for specular lighting */
-        MultilayerConvertContext ctx = {};
+        MultilayerConvertContext ctx = {0};
         IMB_exr_multilayer_convert(ibuf->userdata,
                                    &ctx,
                                    &studiolight_multilayer_addview,



More information about the Bf-blender-cvs mailing list