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:
authorJeroen Bakker <j.bakker@atmind.nl>2018-06-21 10:22:34 +0300
committerJeroen Bakker <j.bakker@atmind.nl>2018-06-21 10:22:34 +0300
commit00d52376f7d78674acc9feb9dbbdbc3d96b2932a (patch)
tree70667c5a8a833ad640340e32a34750651099a1c5 /source/blender/blenkernel/intern/studiolight.c
parente60d4d6a0c0f1b3f170c8cb084043ff91dbd7f06 (diff)
CodeStyle: Comments
Diffstat (limited to 'source/blender/blenkernel/intern/studiolight.c')
-rw-r--r--source/blender/blenkernel/intern/studiolight.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/source/blender/blenkernel/intern/studiolight.c b/source/blender/blenkernel/intern/studiolight.c
index 8bf0eb5be0e..556618c578c 100644
--- a/source/blender/blenkernel/intern/studiolight.c
+++ b/source/blender/blenkernel/intern/studiolight.c
@@ -63,21 +63,21 @@ static ListBase studiolights;
#define STUDIOLIGHT_IRRADIANCE_METHOD_RADIANCE 0
#define STUDIOLIGHT_IRRADIANCE_METHOD_SPHERICAL_HARMONICS 1
/*
- The method to calculate the irradiance buffers
- The irradiance buffer is only shown in the background when in LookDev.
-
- STUDIOLIGHT_IRRADIANCE_METHOD_RADIANCE is very slow, but very accurate
- STUDIOLIGHT_IRRADIANCE_METHOD_SPHERICAL_HARMONICS is faster but has artifacts
-*/
+ * The method to calculate the irradiance buffers
+ * The irradiance buffer is only shown in the background when in LookDev.
+ *
+ * STUDIOLIGHT_IRRADIANCE_METHOD_RADIANCE is very slow, but very accurate
+ * STUDIOLIGHT_IRRADIANCE_METHOD_SPHERICAL_HARMONICS is faster but has artifacts
+ */
// #define STUDIOLIGHT_IRRADIANCE_METHOD STUDIOLIGHT_IRRADIANCE_METHOD_RADIANCE
#define STUDIOLIGHT_IRRADIANCE_METHOD STUDIOLIGHT_IRRADIANCE_METHOD_SPHERICAL_HARMONICS
/*
- Disable this option so caches are not loaded from disk
- Do not checkin with this commented out
-*/
+ * Disable this option so caches are not loaded from disk
+ * Do not checkin with this commented out
+ */
#define STUDIOLIGHT_LOAD_CACHED_FILES
static const char *STUDIOLIGHT_CAMERA_FOLDER = "studiolights/camera/";
@@ -682,8 +682,8 @@ static void studiolight_calculate_irradiance_equirectangular_image(StudioLight *
#if STUDIOLIGHT_IRRADIANCE_METHOD == STUDIOLIGHT_IRRADIANCE_METHOD_RADIANCE
/*
- Only store cached files when using STUDIOLIGHT_IRRADIANCE_METHOD_RADIANCE
- */
+ * Only store cached files when using STUDIOLIGHT_IRRADIANCE_METHOD_RADIANCE
+ */
if (sl->flag & STUDIOLIGHT_USER_DEFINED) {
IMB_saveiff(sl->equirectangular_irradiance_buffer, sl->path_irr_cache, IB_rectfloat);
}