[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [50837] trunk/blender/source/blender/ editors/animation/anim_filter.c: don' t check the real usercount when drawing masks, this way fake user masks can be edited in the dope sheet.

Campbell Barton ideasman42 at gmail.com
Mon Sep 24 02:07:14 CEST 2012


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

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 00:05:02 UTC (rev 50836)
+++ trunk/blender/source/blender/editors/animation/anim_filter.c	2012-09-24 00:07:14 UTC (rev 50837)
@@ -1418,9 +1418,9 @@
 		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))
 		{




More information about the Bf-blender-cvs mailing list