diff options
author | Joshua Leung <aligorith@gmail.com> | 2009-01-02 14:06:27 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2009-01-02 14:06:27 +0300 |
commit | 326b3122cf6ff2018c94ac4cdc43c21a69039ad8 (patch) | |
tree | acb16ba504255a82220cc2d1c8e9d9b39677ee37 /source/blender/editors/space_action/action_draw.c | |
parent | ad4e1df46bc603616f7992ffe320e42528d13989 (diff) |
2.5 - Action Editor: Toggle settings
* Added back enable (Ctrl-Shift-W), disable (Alt-W), and toggle (Shift-W) operators to channels view. They are separate operators which use the same backend code.
* Fixed icon-drawing for IPO-curve 'protect' buttons. After doing this, I've realised that many tools will need some alterations to take this into account. That commit will come later.
Diffstat (limited to 'source/blender/editors/space_action/action_draw.c')
-rw-r--r-- | source/blender/editors/space_action/action_draw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_action/action_draw.c b/source/blender/editors/space_action/action_draw.c index a3ec3a65af0..0912edb7076 100644 --- a/source/blender/editors/space_action/action_draw.c +++ b/source/blender/editors/space_action/action_draw.c @@ -745,7 +745,7 @@ void draw_channel_names(bAnimContext *ac, SpaceAction *saction, ARegion *ar) else mute = ICON_MUTE_IPO_OFF; - if (icu->flag & IPO_PROTECT) + if (EDITABLE_ICU(icu)) protect = ICON_UNLOCKED; else protect = ICON_LOCKED; |