From e6e5e92869eba3a0e5923c7539d721b0f285c6f3 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 24 Sep 2012 01:36:31 +0000 Subject: 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. --- source/blender/editors/animation/anim_filter.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender/editors/animation') 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)) { -- cgit v1.2.3