Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2021-05-17 08:12:41 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-05-17 08:12:41 +0300
commit27c0d291382b74fe784c4799a01d255de8729e07 (patch)
treec1873ef8289e37d179e374bfd584030fb0e196b7 /source/blender/editors/armature
parent6a771175b6d8b19381022430438fd8116bd3411e (diff)
Cleanup: clang-format
Diffstat (limited to 'source/blender/editors/armature')
-rw-r--r--source/blender/editors/armature/pose_slide.c22
1 files changed, 11 insertions, 11 deletions
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);