diff options
author | Wayde Moss <GuiltyGhost> | 2020-09-16 15:49:55 +0300 |
---|---|---|
committer | Sebastian Parborg <darkdefende@gmail.com> | 2020-09-16 15:52:48 +0300 |
commit | d067c13a9d07c7b2d21aa75a93d95d42e0609aa0 (patch) | |
tree | cc30d9f34b57b9265f72835172f1993862e20f96 /source/blender/editors/animation/anim_filter.c | |
parent | be11603dc224345a1b75e8cdf7b0c5396db0d94d (diff) |
NLA: Always Show All Strips
Currently, it's difficult to use the NLA system for users who are only
interested in using it as animation layers.
Entering tweak mode hides strips which are not evaluated. If the user
wanted to edit a different strip, they must exit tweak mode, look for
the strip, select it then re-enter tweak mode.
Solution:
All strips are always shown. The user can now see the next strip they
want to start editing.
Reviewed By: Sybren, Sebastian Parborg
Differential Revision: http://developer.blender.org/D7600
Diffstat (limited to 'source/blender/editors/animation/anim_filter.c')
-rw-r--r-- | source/blender/editors/animation/anim_filter.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/source/blender/editors/animation/anim_filter.c b/source/blender/editors/animation/anim_filter.c index 3416d72c021..a17f1950be0 100644 --- a/source/blender/editors/animation/anim_filter.c +++ b/source/blender/editors/animation/anim_filter.c @@ -1555,17 +1555,6 @@ static size_t animfilter_nla(bAnimContext *UNUSED(ac), next = nlt->next; } - /* If we're in NLA-tweak-mode, don't show this track if it was disabled - * (due to tweaking) for now: - * - active track should still get shown though (even though it has disabled flag set) - */ - // FIXME: the channels after should still get drawn, just 'differently', - // and after an active-action channel. - if ((adt->flag & ADT_NLA_EDIT_ON) && (nlt->flag & NLATRACK_DISABLED) && - (adt->act_track != nlt)) { - continue; - } - /* only work with this channel and its subchannels if it is editable */ if (!(filter_mode & ANIMFILTER_FOREDIT) || EDITABLE_NLT(nlt)) { /* only include this track if selected in a way consistent with the filtering requirements */ |