Commit: 588f107f1155817afe4316549c84ca649be16600
Author: Campbell Barton
Date:   Wed Dec 16 16:13:05 2020 +1100
Branches: master
https://developer.blender.org/rB588f107f1155817afe4316549c84ca649be16600

Cleanup: clang-format

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

M       source/blender/editors/space_sequencer/space_sequencer.c
M       source/blender/gpencil_modifiers/intern/MOD_gpencilarray.c
M       source/blender/makesrna/intern/rna_gpencil_modifier.c
M       source/blender/makesrna/intern/rna_space.c

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

diff --git a/source/blender/editors/space_sequencer/space_sequencer.c 
b/source/blender/editors/space_sequencer/space_sequencer.c
index 64b51b70a12..2bf4741e4f5 100644
--- a/source/blender/editors/space_sequencer/space_sequencer.c
+++ b/source/blender/editors/space_sequencer/space_sequencer.c
@@ -707,7 +707,8 @@ static void sequencer_preview_region_draw(const bContext 
*C, ARegion *region)
   SpaceSeq *sseq = area->spacedata.first;
   Scene *scene = CTX_data_scene(C);
   wmWindowManager *wm = CTX_wm_manager(C);
-  const bool draw_overlay = (scene->ed && (scene->ed->over_flag & 
SEQ_EDIT_OVERLAY_SHOW) && (sseq->flag & SEQ_SHOW_STRIP_OVERLAY));
+  const bool draw_overlay = (scene->ed && (scene->ed->over_flag & 
SEQ_EDIT_OVERLAY_SHOW) &&
+                             (sseq->flag & SEQ_SHOW_STRIP_OVERLAY));
 
   /* XXX temp fix for wrong setting in sseq->mainb */
   if (sseq->mainb == SEQ_DRAW_SEQUENCE) {
diff --git a/source/blender/gpencil_modifiers/intern/MOD_gpencilarray.c 
b/source/blender/gpencil_modifiers/intern/MOD_gpencilarray.c
index 0b8f150aba4..b8fa88327fc 100644
--- a/source/blender/gpencil_modifiers/intern/MOD_gpencilarray.c
+++ b/source/blender/gpencil_modifiers/intern/MOD_gpencilarray.c
@@ -241,7 +241,7 @@ static void generate_geometry(GpencilModifierData *md,
           float rand_value;
           rand_value = fmodf(r[0] * 2.0 - 1.0 + rand_offset, 1.0f);
           rand_value = fmodf(sin(rand_value * 12.9898 + j * 78.233) * 
43758.5453, 1.0f);
-          copy_v3_fl(rand[j] , rand_value);
+          copy_v3_fl(rand[j], rand_value);
         }
         else {
           for (int i = 0; i < 3; i++) {
diff --git a/source/blender/makesrna/intern/rna_gpencil_modifier.c 
b/source/blender/makesrna/intern/rna_gpencil_modifier.c
index f0660392eaf..89eb989a442 100644
--- a/source/blender/makesrna/intern/rna_gpencil_modifier.c
+++ b/source/blender/makesrna/intern/rna_gpencil_modifier.c
@@ -1563,7 +1563,8 @@ static void rna_def_modifier_gpencilarray(BlenderRNA 
*brna)
 
   prop = RNA_def_property(srna, "use_uniform_random_scale", PROP_BOOLEAN, 
PROP_NONE);
   RNA_def_property_boolean_sdna(prop, NULL, "flag", 
GP_ARRAY_UNIFORM_RANDOM_SCALE);
-  RNA_def_property_ui_text(prop, "Uniform Scale", "Use the same random seed 
for each scale axis for a uniform scale");
+  RNA_def_property_ui_text(
+      prop, "Uniform Scale", "Use the same random seed for each scale axis for 
a uniform scale");
   RNA_def_property_update(prop, 0, "rna_GpencilModifier_update");
 }
 
diff --git a/source/blender/makesrna/intern/rna_space.c 
b/source/blender/makesrna/intern/rna_space.c
index ca12bbbbb7a..7405bc541c9 100644
--- a/source/blender/makesrna/intern/rna_space.c
+++ b/source/blender/makesrna/intern/rna_space.c
@@ -5242,7 +5242,8 @@ static void rna_def_space_sequencer(BlenderRNA *brna)
 
   prop = RNA_def_property(srna, "show_strip_source", PROP_BOOLEAN, PROP_NONE);
   RNA_def_property_boolean_sdna(prop, NULL, "flag", SEQ_SHOW_STRIP_SOURCE);
-  RNA_def_property_ui_text(prop, "Show Source", "Display path to source file, 
or name of source datablock");
+  RNA_def_property_ui_text(
+      prop, "Show Source", "Display path to source file, or name of source 
datablock");
   RNA_def_property_update(prop, NC_SPACE | ND_SPACE_SEQUENCER, NULL);
 
   prop = RNA_def_property(srna, "show_strip_duration", PROP_BOOLEAN, 
PROP_NONE);

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

Reply via email to