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
parente60d4d6a0c0f1b3f170c8cb084043ff91dbd7f06 (diff)
CodeStyle: Comments
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/blenkernel/BKE_studiolight.h8
-rw-r--r--source/blender/blenkernel/intern/studiolight.c22
2 files changed, 15 insertions, 15 deletions
diff --git a/source/blender/blenkernel/BKE_studiolight.h b/source/blender/blenkernel/BKE_studiolight.h
index af7ef9a383e..2bd55fdb96e 100644
--- a/source/blender/blenkernel/BKE_studiolight.h
+++ b/source/blender/blenkernel/BKE_studiolight.h
@@ -128,10 +128,10 @@ typedef struct StudioLight {
float *gpu_matcap_3components; /* 3 channel buffer for GPU_R11F_G11F_B10F */
/*
- Free function to clean up the running icons previews (wmJob) the usage is in
- interface_icons. Please be aware that this was build to handle only one free function
- that cleans up all icons. just to keep the code simple.
- */
+ * Free function to clean up the running icons previews (wmJob) the usage is in
+ * interface_icons. Please be aware that this was build to handle only one free function
+ * that cleans up all icons. just to keep the code simple.
+ */
StudioLightFreeFunction *free_function;
void* free_function_data;
} StudioLight;
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);
}