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).
This commit is contained in:
2010-01-10 11:09:30 +00:00
parent e26005795d
commit 2c56c59dfe
3 changed files with 42 additions and 22 deletions

View File

@@ -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 */