Fix T67459: Dope Editor, muting channels with shortcut doesn't work
This commit is contained in:
parent
4cf8f35cc1
commit
b63f0266a0
Notes:
blender-bot
2023-02-14 06:42:53 +01:00
Referenced by issue #67459, Dope Editor: setting channels to mute with shortcut Shit + W doesn't work. Referenced by issue #67320, Navigation screen controls don't always work
|
@ -1705,7 +1705,7 @@ static void ANIM_OT_channels_ungroup(wmOperatorType *ot)
|
|||
|
||||
/* ******************** Delete Channel Operator *********************** */
|
||||
|
||||
static void update_dependencies_on_delete(bAnimListElem *ale)
|
||||
static void tag_update_animation_element(bAnimListElem *ale)
|
||||
{
|
||||
ID *id = ale->id;
|
||||
AnimData *adt = BKE_animdata_from_id(id);
|
||||
|
@ -1801,7 +1801,7 @@ static int animchannels_delete_exec(bContext *C, wmOperator *UNUSED(op))
|
|||
|
||||
/* try to free F-Curve */
|
||||
ANIM_fcurve_delete_from_animdata(&ac, adt, fcu);
|
||||
update_dependencies_on_delete(ale);
|
||||
tag_update_animation_element(ale);
|
||||
break;
|
||||
}
|
||||
case ANIMTYPE_NLACURVE: {
|
||||
|
@ -1823,7 +1823,7 @@ static int animchannels_delete_exec(bContext *C, wmOperator *UNUSED(op))
|
|||
/* unlink and free the F-Curve */
|
||||
BLI_remlink(&strip->fcurves, fcu);
|
||||
free_fcurve(fcu);
|
||||
update_dependencies_on_delete(ale);
|
||||
tag_update_animation_element(ale);
|
||||
break;
|
||||
}
|
||||
case ANIMTYPE_GPLAYER: {
|
||||
|
@ -1967,6 +1967,7 @@ static void setflag_anim_channels(bAnimContext *ac,
|
|||
|
||||
/* set the setting in the appropriate way */
|
||||
ANIM_channel_setting_set(ac, ale, setting, mode);
|
||||
tag_update_animation_element(ale);
|
||||
|
||||
/* if flush status... */
|
||||
if (flush) {
|
||||
|
|
Loading…
Reference in New Issue