[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [40716] trunk/blender/source/blender/ editors/space_action/action_edit.c: Fix [#28773] Auto Set Preview Range Does not work on selection in DopeSheet

Bastien Montagne montagne29 at wanadoo.fr
Fri Sep 30 14:33:52 CEST 2011


Revision: 40716
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=40716
Author:   mont29
Date:     2011-09-30 12:33:52 +0000 (Fri, 30 Sep 2011)
Log Message:
-----------
Fix [#28773] Auto Set Preview Range Does not work on selection in DopeSheet
(viewall was also broken for DopeSheet, btw, same cause).

Modified Paths:
--------------
    trunk/blender/source/blender/editors/space_action/action_edit.c

Modified: trunk/blender/source/blender/editors/space_action/action_edit.c
===================================================================
--- trunk/blender/source/blender/editors/space_action/action_edit.c	2011-09-30 12:24:17 UTC (rev 40715)
+++ trunk/blender/source/blender/editors/space_action/action_edit.c	2011-09-30 12:33:52 UTC (rev 40716)
@@ -233,7 +233,8 @@
 	
 	/* get data to filter, from Action or Dopesheet */
 	// XXX: what is sel doing here?!
-	filter= (ANIMFILTER_DATA_VISIBLE | ANIMFILTER_LIST_VISIBLE | ANIMFILTER_SEL /*| ANIMFILTER_CURVESONLY*/ | ANIMFILTER_NODUPLIS);
+	//      Commented it, was breaking things (eg. the "auto preview range" tool).
+	filter= (ANIMFILTER_DATA_VISIBLE | ANIMFILTER_LIST_VISIBLE /*| ANIMFILTER_SEL *//*| ANIMFILTER_CURVESONLY*/ | ANIMFILTER_NODUPLIS);
 	ANIM_animdata_filter(ac, &anim_data, filter, ac->data, ac->datatype);
 	
 	/* set large values to try to override */




More information about the Bf-blender-cvs mailing list