Commit: 00d52376f7d78674acc9feb9dbbdbc3d96b2932a
Author: Jeroen Bakker
Date:   Thu Jun 21 09:22:34 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB00d52376f7d78674acc9feb9dbbdbc3d96b2932a

CodeStyle: Comments

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

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

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

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);
                }

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

Reply via email to