From fc3e0ae2979e72409a52fc32a74e7323752df214 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 24 Sep 2012 00:07:14 +0000 Subject: don't check the real usercount when drawing masks, this way fake user masks can be edited in the dope sheet. (was cause of masks mysteriously not showing in the dope sheet, making masks fake user by default made this more common an issue) --- source/blender/editors/animation/anim_filter.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source') diff --git a/source/blender/editors/animation/anim_filter.c b/source/blender/editors/animation/anim_filter.c index 8b0593d48ac..da7a23d91b1 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 (ID_REAL_USERS(mask) < 1) + if (mask->id.us < 1) continue; - + /* add mask animation channels */ BEGIN_ANIMFILTER_SUBCHANNELS(EXPANDED_MASK(mask)) { -- cgit v1.2.3