[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [39381] branches/soc-2011-pepper/source/ blender/editors/space_action/space_action.c: Show dopesheet summary for new DopeSheet editors

Joshua Leung aligorith at gmail.com
Sun Aug 14 06:55:52 CEST 2011


Revision: 39381
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=39381
Author:   aligorith
Date:     2011-08-14 04:55:52 +0000 (Sun, 14 Aug 2011)
Log Message:
-----------
Show dopesheet summary for new DopeSheet editors

While I originally made these so that they wouldn't be on by default
due to concerns over the filtering used for these leading to reduced
framerates/interactive speed, I'd since found while doing some
profiling that this isn't the case.

Rather, decreased framerates were more likely to stem from trying to
perform the checks necessary for the long-keyframe drawing when many
"child" channels are involved (affecting other channels too).

So, since these are generally useful, they are now enabled by default
:)

Modified Paths:
--------------
    branches/soc-2011-pepper/source/blender/editors/space_action/space_action.c

Modified: branches/soc-2011-pepper/source/blender/editors/space_action/space_action.c
===================================================================
--- branches/soc-2011-pepper/source/blender/editors/space_action/space_action.c	2011-08-14 04:37:53 UTC (rev 39380)
+++ branches/soc-2011-pepper/source/blender/editors/space_action/space_action.c	2011-08-14 04:55:52 UTC (rev 39381)
@@ -76,6 +76,8 @@
 	saction->autosnap = SACTSNAP_FRAME;
 	saction->mode= SACTCONT_DOPESHEET;
 	
+	saction->ads.filterflag |= ADS_FILTER_SUMMARY;
+	
 	/* header */
 	ar= MEM_callocN(sizeof(ARegion), "header for action");
 	




More information about the Bf-blender-cvs mailing list