[Bf-blender-cvs] [5722de6098a] master: Cleanup: Animation, remove unused parameters
Sybren A. Stüvel
noreply at git.blender.org
Fri Oct 16 10:21:44 CEST 2020
Commit: 5722de6098ab99a03c2a8469bef3efbec8232e00
Author: Sybren A. Stüvel
Date: Fri Oct 16 10:17:06 2020 +0200
Branches: master
https://developer.blender.org/rB5722de6098ab99a03c2a8469bef3efbec8232e00
Cleanup: Animation, remove unused parameters
No functional changes.
===================================================================
M source/blender/editors/animation/anim_deps.c
===================================================================
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;
}
}
More information about the Bf-blender-cvs
mailing list