diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-09-24 05:36:31 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-09-24 05:36:31 +0400 |
commit | e6e5e92869eba3a0e5923c7539d721b0f285c6f3 (patch) | |
tree | dec3d3411213d6bef0f3cad0b977b193cb59565f /source/blender/editors/animation/anim_filter.c | |
parent | 904515814fda46b58defc21aa4f172849e5e86a9 (diff) |
revert r50837, this assumption is made elsewhere (in transform_conversions.c), so better leave it for now, at least with r50836 mask datablocks display in the dope sheet by default now.
Diffstat (limited to 'source/blender/editors/animation/anim_filter.c')
-rw-r--r-- | source/blender/editors/animation/anim_filter.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/animation/anim_filter.c b/source/blender/editors/animation/anim_filter.c index da7a23d91b1..8b0593d48ac 100644 --- a/source/blender/editors/animation/anim_filter.c +++ b/source/blender/editors/animation/anim_filter.c @@ -1418,9 +1418,9 @@ static size_t animdata_filter_mask(ListBase *anim_data, void *UNUSED(data), int size_t tmp_items = 0; /* only show if mask is used by something... */ - if (mask->id.us < 1) + if (ID_REAL_USERS(mask) < 1) continue; - + /* add mask animation channels */ BEGIN_ANIMFILTER_SUBCHANNELS(EXPANDED_MASK(mask)) { |