diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-10-31 06:43:25 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-10-31 06:43:25 +0300 |
commit | 1fb9fcb333a03a3151b352e9cb8e3cd0cd10b2b4 (patch) | |
tree | a6a2daa8cc628504e553920eebb2feca58147a13 /source/blender/editors/animation/keyframes_draw.c | |
parent | 8d496c2f85834c22b7b848086e708483e62c64fd (diff) |
Cleanup: indentation
Diffstat (limited to 'source/blender/editors/animation/keyframes_draw.c')
-rw-r--r-- | source/blender/editors/animation/keyframes_draw.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/editors/animation/keyframes_draw.c b/source/blender/editors/animation/keyframes_draw.c index 008160e2459..3eb73b9eef2 100644 --- a/source/blender/editors/animation/keyframes_draw.c +++ b/source/blender/editors/animation/keyframes_draw.c @@ -181,7 +181,7 @@ static eKeyframeExtremeDrawOpts bezt_extreme_type(BezTripleChain *chain) /* Comparator callback used for ActKeyColumns and BezTripleChain */ static short compare_ak_bezt(void *node, void *data) { - BezTripleChain *chain = (BezTripleChain*)data; + BezTripleChain *chain = data; return compare_ak_cfraPtr(node, &chain->cur->vec[1][0]); } @@ -190,7 +190,7 @@ static short compare_ak_bezt(void *node, void *data) static DLRBT_Node *nalloc_ak_bezt(void *data) { ActKeyColumn *ak = MEM_callocN(sizeof(ActKeyColumn), "ActKeyColumn"); - BezTripleChain *chain = (BezTripleChain*)data; + BezTripleChain *chain = data; BezTriple *bezt = chain->cur; /* store settings based on state of BezTriple */ @@ -209,8 +209,8 @@ static DLRBT_Node *nalloc_ak_bezt(void *data) /* Node updater callback used for building ActKeyColumns from BezTripleChain */ static void nupdate_ak_bezt(void *node, void *data) { - ActKeyColumn *ak = (ActKeyColumn *)node; - BezTripleChain *chain = (BezTripleChain*)data; + ActKeyColumn *ak = node; + BezTripleChain *chain = data; BezTriple *bezt = chain->cur; /* set selection status and 'touched' status */ |