[Bf-blender-cvs] [5dc0fd08a70] master: Cleanup: correct incomplete comment

Campbell Barton noreply at git.blender.org
Tue Jun 15 03:00:46 CEST 2021


Commit: 5dc0fd08a70b123e5d17057e1cbc1462bef0d8d8
Author: Campbell Barton
Date:   Tue Jun 15 10:59:31 2021 +1000
Branches: master
https://developer.blender.org/rB5dc0fd08a70b123e5d17057e1cbc1462bef0d8d8

Cleanup: correct incomplete comment

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

M	source/blender/draw/engines/gpencil/gpencil_shader_fx.c

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

diff --git a/source/blender/draw/engines/gpencil/gpencil_shader_fx.c b/source/blender/draw/engines/gpencil/gpencil_shader_fx.c
index 21d55357a2a..315133186da 100644
--- a/source/blender/draw/engines/gpencil/gpencil_shader_fx.c
+++ b/source/blender/draw/engines/gpencil/gpencil_shader_fx.c
@@ -397,7 +397,7 @@ static void gpencil_vfx_shadow(ShadowShaderFxData *fx, Object *ob, gpIterVfxData
   unit_m4(uv_mat);
   zero_v2(wave_ofs);
 
-  /* We reset the uv_mat so we need to account for the rotation in the  */
+  /* Reset the `uv_mat` to account for rotation in the Y-axis (Shadow-V parameter). */
   copy_v2_fl2(tmp, 0.0f, blur_size[1]);
   rotate_v2_v2fl(blur_dir, tmp, -fx->rotation);
   mul_v2_v2(blur_dir, vp_size_inv);



More information about the Bf-blender-cvs mailing list