diff options
author | Joshua Leung <aligorith@gmail.com> | 2010-01-10 14:09:30 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2010-01-10 14:09:30 +0300 |
commit | 2c56c59dfe30b4a44fe06135aba60b60bc6aa457 (patch) | |
tree | 9019cfa6242aed57afc2a3145bae51ffd0dc92b6 /source/blender/editors/include | |
parent | e26005795d17d4d0516364ab1bcedd4dd7058efe (diff) |
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).
Diffstat (limited to 'source/blender/editors/include')
-rw-r--r-- | source/blender/editors/include/ED_anim_api.h | 5 |
1 files changed, 3 insertions, 2 deletions
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 */ |