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:
authorSybren A. Stüvel <sybren@blender.org>2020-10-16 11:17:06 +0300
committerSybren A. Stüvel <sybren@blender.org>2020-10-16 11:17:10 +0300
commit5722de6098ab99a03c2a8469bef3efbec8232e00 (patch)
tree9ebc820a580f8876a788e8c9289d1b5a9027836e
parentbb872b25f219d1a9bc2446228b6dc7a9248d7f20 (diff)
Cleanup: Animation, remove unused parameters
No functional changes.
-rw-r--r--source/blender/editors/animation/anim_deps.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/source/blender/editors/animation/anim_deps.c b/source/blender/editors/animation/anim_deps.c
index a9ab89c693d..9e81880984b 100644
--- a/source/blender/editors/animation/anim_deps.c
+++ b/source/blender/editors/animation/anim_deps.c
@@ -283,9 +283,7 @@ static void animchan_sync_fcurve_nodetree(bAnimListElem *ale, FCurve **active_fc
}
/* perform syncing updates for F-Curves */
-static void animchan_sync_fcurve(bAnimContext *UNUSED(ac),
- bAnimListElem *ale,
- FCurve **active_fcurve)
+static void animchan_sync_fcurve(bAnimListElem *ale, FCurve **active_fcurve)
{
FCurve *fcu = (FCurve *)ale->data;
ID *owner_id = ale->id;
@@ -310,7 +308,7 @@ static void animchan_sync_fcurve(bAnimContext *UNUSED(ac),
}
/* perform syncing updates for GPencil Layers */
-static void animchan_sync_gplayer(bAnimContext *UNUSED(ac), bAnimListElem *ale)
+static void animchan_sync_gplayer(bAnimListElem *ale)
{
bGPDlayer *gpl = (bGPDlayer *)ale->data;
@@ -366,11 +364,11 @@ void ANIM_sync_animchannels_to_data(const bContext *C)
break;
case ANIMTYPE_FCURVE:
- animchan_sync_fcurve(&ac, ale, &active_fcurve);
+ animchan_sync_fcurve(ale, &active_fcurve);
break;
case ANIMTYPE_GPLAYER:
- animchan_sync_gplayer(&ac, ale);
+ animchan_sync_gplayer(ale);
break;
}
}