[Bf-blender-cvs] [27c0d291382] master: Cleanup: clang-format

Campbell Barton noreply at git.blender.org
Mon May 17 07:16:51 CEST 2021


Commit: 27c0d291382b74fe784c4799a01d255de8729e07
Author: Campbell Barton
Date:   Mon May 17 15:12:41 2021 +1000
Branches: master
https://developer.blender.org/rB27c0d291382b74fe784c4799a01d255de8729e07

Cleanup: clang-format

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

M	source/blender/editors/armature/pose_slide.c

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

diff --git a/source/blender/editors/armature/pose_slide.c b/source/blender/editors/armature/pose_slide.c
index edac5dc61c9..55c2204b4ab 100644
--- a/source/blender/editors/armature/pose_slide.c
+++ b/source/blender/editors/armature/pose_slide.c
@@ -292,7 +292,7 @@ static void draw_ticks(const float start_percentage,
   }
 }
 
-static void draw_main_line(const struct rctf main_line_rect, 
+static void draw_main_line(const struct rctf main_line_rect,
                            const float percentage,
                            const bool overshoot,
                            const uint8_t color_overshoot[4],
@@ -390,7 +390,7 @@ static void pose_slide_draw_2d_slider(const struct bContext *UNUSED(C), ARegion
   const float line_width = 1.5 * U.pixelsize;
   const float base_tick_height = 12.0 * U.pixelsize;
   const float line_y = region->winy / 2;
-  
+
   struct rctf main_line_rect = {.xmin = (region->winx / 2) - (SLIDE_PIXEL_DISTANCE / 2),
                                 .xmax = (region->winx / 2) + (SLIDE_PIXEL_DISTANCE / 2),
                                 .ymin = line_y - line_width / 2,
@@ -448,7 +448,7 @@ static void pose_slide_draw_2d_slider(const struct bContext *UNUSED(C), ARegion
                        sizeof(percentage_string),
                        &percentage_pixel_size[0],
                        &percentage_pixel_size[1]);
-                       
+
   BLF_position(fontid,
                main_line_rect.xmin - 24.0 * U.pixelsize - percentage_pixel_size[0] / 2,
                (region->winy / 2) - percentage_pixel_size[1] / 2,
@@ -1196,14 +1196,14 @@ static void pose_slide_draw_status(bContext *C, tPoseSlideOp *pso)
   }
   else {
     BLI_snprintf(status_str,
-                  sizeof(status_str),
-                  "%s: %s | %s | %s | %s | %s",
-                  mode_str,
-                  limits_str,
-                  overshoot_str,
-                  precision_str,
-                  increments_str,
-                  bone_vis_str);
+                 sizeof(status_str),
+                 "%s: %s | %s | %s | %s | %s",
+                 mode_str,
+                 limits_str,
+                 overshoot_str,
+                 precision_str,
+                 increments_str,
+                 bone_vis_str);
   }
 
   ED_workspace_status_text(C, status_str);



More information about the Bf-blender-cvs mailing list