Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-09-24 05:36:31 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-09-24 05:36:31 +0400
commite6e5e92869eba3a0e5923c7539d721b0f285c6f3 (patch)
treedec3d3411213d6bef0f3cad0b977b193cb59565f /source/blender/editors/animation
parent904515814fda46b58defc21aa4f172849e5e86a9 (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')
-rw-r--r--source/blender/editors/animation/anim_filter.c4
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))
{