[Bf-blender-cvs] [b51d6d50688] master: Cleanup: clang-format

Campbell Barton noreply at git.blender.org
Tue Apr 5 00:03:08 CEST 2022


Commit: b51d6d50688e653d42c3ca8566df2f9518c462e3
Author: Campbell Barton
Date:   Tue Apr 5 07:51:48 2022 +1000
Branches: master
https://developer.blender.org/rBb51d6d50688e653d42c3ca8566df2f9518c462e3

Cleanup: clang-format

Also add space below file references.

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

M	source/blender/editors/space_node/node_draw.cc
M	source/blender/editors/space_sequencer/sequencer_intern.h

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

diff --git a/source/blender/editors/space_node/node_draw.cc b/source/blender/editors/space_node/node_draw.cc
index 68cfd1c9ef0..88ab7617932 100644
--- a/source/blender/editors/space_node/node_draw.cc
+++ b/source/blender/editors/space_node/node_draw.cc
@@ -2579,8 +2579,20 @@ static void reroute_node_draw(
     const int x = BLI_rctf_cent_x(&node.totr) - (width / 2);
     const int y = node.totr.ymax;
 
-    uiBut *label_but = uiDefBut(
-        &block, UI_BTYPE_LABEL, 0, showname, x, y, width, (short)NODE_DY, nullptr, 0, 0, 0, 0, nullptr);
+    uiBut *label_but = uiDefBut(&block,
+                                UI_BTYPE_LABEL,
+                                0,
+                                showname,
+                                x,
+                                y,
+                                width,
+                                (short)NODE_DY,
+                                nullptr,
+                                0,
+                                0,
+                                0,
+                                0,
+                                nullptr);
 
     UI_but_drawflag_disable(label_but, UI_BUT_TEXT_LEFT);
   }
diff --git a/source/blender/editors/space_sequencer/sequencer_intern.h b/source/blender/editors/space_sequencer/sequencer_intern.h
index 194aa518cd7..781aa521880 100644
--- a/source/blender/editors/space_sequencer/sequencer_intern.h
+++ b/source/blender/editors/space_sequencer/sequencer_intern.h
@@ -103,6 +103,7 @@ void draw_seq_strip_thumbnail(struct View2D *v2d,
                               float pixely);
 
 /* sequencer_draw_channels.c */
+
 void draw_channels(const struct bContext *C, struct ARegion *region);
 void channel_draw_context_init(const struct bContext *C,
                                struct ARegion *region,
@@ -271,6 +272,7 @@ void SEQUENCER_OT_view_selected(struct wmOperatorType *ot);
 void SEQUENCER_OT_view_ghost_border(struct wmOperatorType *ot);
 
 /* sequencer_channels_edit.c */
+
 void SEQUENCER_OT_rename_channel(struct wmOperatorType *ot);
 
 /* sequencer_preview.c */



More information about the Bf-blender-cvs mailing list