[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [50840] trunk/blender/source/blender/ editors/animation/anim_filter.c: 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 .

Campbell Barton ideasman42 at gmail.com
Mon Sep 24 03:36:34 CEST 2012


Revision: 50840
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=50840
Author:   campbellbarton
Date:     2012-09-24 01:36:31 +0000 (Mon, 24 Sep 2012)
Log Message:
-----------
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.

Revision Links:
--------------
    http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=50837
    http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=50836

Modified Paths:
--------------
    trunk/blender/source/blender/editors/animation/anim_filter.c

Modified: trunk/blender/source/blender/editors/animation/anim_filter.c
===================================================================
--- trunk/blender/source/blender/editors/animation/anim_filter.c	2012-09-24 01:13:13 UTC (rev 50839)
+++ trunk/blender/source/blender/editors/animation/anim_filter.c	2012-09-24 01:36:31 UTC (rev 50840)
@@ -1418,9 +1418,9 @@
 		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))
 		{




More information about the Bf-blender-cvs mailing list