[Bf-blender-cvs] [8c4edd1b379] master: Cleanup: clang format

Aaron Carlisle noreply at git.blender.org
Mon Dec 27 22:23:32 CET 2021


Commit: 8c4edd1b379d486d3a4755573861509e2b921f64
Author: Aaron Carlisle
Date:   Mon Dec 27 16:23:23 2021 -0500
Branches: master
https://developer.blender.org/rB8c4edd1b379d486d3a4755573861509e2b921f64

Cleanup: clang format

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

M	source/blender/editors/gpencil/gpencil_paint.c

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

diff --git a/source/blender/editors/gpencil/gpencil_paint.c b/source/blender/editors/gpencil/gpencil_paint.c
index 5cccf165748..498c6baa4b1 100644
--- a/source/blender/editors/gpencil/gpencil_paint.c
+++ b/source/blender/editors/gpencil/gpencil_paint.c
@@ -736,7 +736,8 @@ static void gpencil_apply_randomness(tGPsdata *p,
   /* Apply randomness to uv texture rotation. */
   if ((brush_settings->uv_random > 0.0f) && (uv)) {
     if ((brush_settings->flag2 & GP_BRUSH_USE_UV_AT_STROKE) == 0) {
-      float rand = BLI_hash_int_01(BLI_hash_int_2d((int)pt->m_xy[0], gpd->runtime.sbuffer_used)) * 2.0f -
+      float rand = BLI_hash_int_01(BLI_hash_int_2d((int)pt->m_xy[0], gpd->runtime.sbuffer_used)) *
+                       2.0f -
                    1.0f;
       value = rand * M_PI_2 * brush_settings->uv_random;
     }



More information about the Bf-blender-cvs mailing list