From 2c56c59dfe30b4a44fe06135aba60b60bc6aa457 Mon Sep 17 00:00:00 2001 From: Joshua Leung Date: Sun, 10 Jan 2010 11:09:30 +0000 Subject: Animation Channels - Protect + Mute toggles flushing: Protect and Mute toggles now flush their values when changed, like for visibility, making the workflow a bit smoother. Currently, this only takes effect when clicking on the toggles (i.e. the hotkey+select based toggle setting operators don't take this into account yet). --- source/blender/editors/include/ED_anim_api.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'source/blender/editors/include/ED_anim_api.h') diff --git a/source/blender/editors/include/ED_anim_api.h b/source/blender/editors/include/ED_anim_api.h index 3d8ea195707..531751a609e 100644 --- a/source/blender/editors/include/ED_anim_api.h +++ b/source/blender/editors/include/ED_anim_api.h @@ -386,9 +386,10 @@ void ANIM_channel_setting_set(bAnimContext *ac, bAnimListElem *ale, int setting, * then the channels under closed expanders get ignored... * - ale_setting: the anim channel (not in the anim_data list directly, though occuring there) * with the new state of the setting that we want flushed up/down the hierarchy - * - vizOn: whether the visibility setting has been enabled or disabled + * - setting: type of setting to set + * - on: whether the visibility setting has been enabled or disabled */ -void ANIM_visibility_flush_anim_channels(bAnimContext *ac, ListBase *anim_data, bAnimListElem *ale_setting, short vizOn); +void ANIM_flush_setting_anim_channels(bAnimContext *ac, ListBase *anim_data, bAnimListElem *ale_setting, int setting, short on); /* Deselect all animation channels */ -- cgit v1.2.3