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>2018-10-17 06:08:44 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-10-17 06:08:44 +0300
commitae093e6a8439796d02676dca895efcf5bd378ba4 (patch)
tree3f8467a6a5ff4cc8639e557878bad09ce1cfadfe /source/blender/editors/animation/keyframes_draw.c
parent96dc1ad30808f82eb8c8c20e85ef01a87e119a9c (diff)
Cleanup: whitespace
Diffstat (limited to 'source/blender/editors/animation/keyframes_draw.c')
-rw-r--r--source/blender/editors/animation/keyframes_draw.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/source/blender/editors/animation/keyframes_draw.c b/source/blender/editors/animation/keyframes_draw.c
index 9379ec2af39..ec9e1f29a72 100644
--- a/source/blender/editors/animation/keyframes_draw.c
+++ b/source/blender/editors/animation/keyframes_draw.c
@@ -67,11 +67,13 @@
/* ActKeyColumns (Keyframe Columns) ------------------------------------------ */
-BLI_INLINE bool is_cfra_eq(float a, float b) {
+BLI_INLINE bool is_cfra_eq(float a, float b)
+{
return IS_EQT(a, b, BEZT_BINARYSEARCH_THRESH);
}
-BLI_INLINE bool is_cfra_lt(float a, float b) {
+BLI_INLINE bool is_cfra_lt(float a, float b)
+{
return (b - a) > BEZT_BINARYSEARCH_THRESH;
}
@@ -255,7 +257,7 @@ static const ActKeyBlockInfo dummy_keyblock = { 0 };
static void compute_keyblock_data(ActKeyBlockInfo *info, BezTriple *prev, BezTriple *beztn)
{
- memset(info, 0, sizeof (ActKeyBlockInfo));
+ memset(info, 0, sizeof(ActKeyBlockInfo));
if (BEZKEYTYPE(beztn) == BEZT_KEYTYPE_MOVEHOLD) {
/* Animator tagged a "moving hold"