Commit: ab0daa18666a5f9f00c1b752d194773fe20556a3
Author: Jeroen Bakker
Date:   Tue Jun 12 11:53:34 2018 +0200
Branches: blender2.8
https://developer.blender.org/rBab0daa18666a5f9f00c1b752d194773fe20556a3

Studiolight: Disabled irradiance icons

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

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

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

diff --git a/source/blender/blenkernel/intern/studiolight.c 
b/source/blender/blenkernel/intern/studiolight.c
index 3d7777e43d5..e164cd6cac9 100644
--- a/source/blender/blenkernel/intern/studiolight.c
+++ b/source/blender/blenkernel/intern/studiolight.c
@@ -627,7 +627,10 @@ static uint *studiolight_matcap_preview(StudioLight *sl, 
int icon_size)
 
 static uint *studiolight_irradiance_preview(StudioLight *sl, int icon_size)
 {
-       if (!(sl->flag & STUDIOLIGHT_EXTERNAL_FILE)) {
+#if 0
+       if (!(sl->flag & STUDIOLIGHT_EXTERNAL_FILE))
+#endif
+       {
 
                BKE_studiolight_ensure_flag(sl, 
STUDIOLIGHT_DIFFUSE_LIGHT_CALCULATED);
 
@@ -678,6 +681,7 @@ static uint *studiolight_irradiance_preview(StudioLight 
*sl, int icon_size)
                }
                return rect;
        }
+#if 0
        else {
                BKE_studiolight_ensure_flag(sl, 
STUDIOLIGHT_EQUIRECTANGULAR_IRRADIANCE_IMAGE_CALCULATED);
 
@@ -730,6 +734,7 @@ static uint *studiolight_irradiance_preview(StudioLight 
*sl, int icon_size)
                }
                return rect;
        }
+#endif
 }
 
 /* API */

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to