[Bf-blender-cvs] [62885637fb5] master: Cleanup: Make format

Antonio Vazquez noreply at git.blender.org
Tue Mar 8 16:51:43 CET 2022


Commit: 62885637fb5ffbe81efe0e03a2832c5f65d0f5fe
Author: Antonio Vazquez
Date:   Tue Mar 8 16:41:30 2022 +0100
Branches: master
https://developer.blender.org/rB62885637fb5ffbe81efe0e03a2832c5f65d0f5fe

Cleanup: Make format

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

M	source/blender/gpencil_modifiers/intern/MOD_gpencilbuild.c

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

diff --git a/source/blender/gpencil_modifiers/intern/MOD_gpencilbuild.c b/source/blender/gpencil_modifiers/intern/MOD_gpencilbuild.c
index e0da483310d..6d9d9035c84 100644
--- a/source/blender/gpencil_modifiers/intern/MOD_gpencilbuild.c
+++ b/source/blender/gpencil_modifiers/intern/MOD_gpencilbuild.c
@@ -181,11 +181,8 @@ typedef struct tStrokeBuildDetails {
 } tStrokeBuildDetails;
 
 /* Sequential and additive - Show strokes one after the other. */
-static void build_sequential(BuildGpencilModifierData *mmd,
-                             bGPdata *gpd,
-                             bGPDframe *gpf,
-                             float fac,
-                             bool additive)
+static void build_sequential(
+    BuildGpencilModifierData *mmd, bGPdata *gpd, bGPDframe *gpf, float fac, bool additive)
 {
   size_t tot_strokes = BLI_listbase_count(&gpf->strokes);
   size_t start_stroke;
@@ -197,15 +194,18 @@ static void build_sequential(BuildGpencilModifierData *mmd,
   if (additive) {
     if (gpf->prev) {
       start_stroke = BLI_listbase_count(&gpf->prev->strokes);
-    } else {
+    }
+    else {
       start_stroke = 0;
     }
     if (start_stroke <= tot_strokes) {
       tot_strokes = tot_strokes - start_stroke;
-    } else {
+    }
+    else {
       start_stroke = 0;
     }
-  } else {
+  }
+  else {
     start_stroke = 0;
   }



More information about the Bf-blender-cvs mailing list