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:
authormano-wii <germano.costa@ig.com.br>2018-11-19 15:39:02 +0300
committermano-wii <germano.costa@ig.com.br>2018-11-19 15:39:30 +0300
commit8d51e3c062dda1317586d744fcb8ff223ec0939a (patch)
treefe8a8f549d684bce3d144c9651234ec08a60abb2 /source/blender/blenkernel/intern/studiolight.c
parent422992a135bda9b4da2311a7ebca1f896391c027 (diff)
STUDIOLIGHT: leave a comment of why `STUDIOLIGHT_SPHERICAL_HARMONICS_WINDOWING` was commented.
Diffstat (limited to 'source/blender/blenkernel/intern/studiolight.c')
-rw-r--r--source/blender/blenkernel/intern/studiolight.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/studiolight.c b/source/blender/blenkernel/intern/studiolight.c
index 839c63b0e3f..0aeb6d78d44 100644
--- a/source/blender/blenkernel/intern/studiolight.c
+++ b/source/blender/blenkernel/intern/studiolight.c
@@ -74,8 +74,10 @@ static int last_studiolight_id = 0;
// #define STUDIOLIGHT_IRRADIANCE_METHOD STUDIOLIGHT_IRRADIANCE_METHOD_RADIANCE
#define STUDIOLIGHT_IRRADIANCE_METHOD STUDIOLIGHT_IRRADIANCE_METHOD_SPHERICAL_HARMONICS
+#if 0 /* Temporarily disabled due to the creation of textures with -nan(ind)s */
#if STUDIOLIGHT_SPHERICAL_HARMONICS_LEVEL == 2
-//# define STUDIOLIGHT_SPHERICAL_HARMONICS_WINDOWING
+# define STUDIOLIGHT_SPHERICAL_HARMONICS_WINDOWING
+#endif
#endif
/*