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
:)
This commit is contained in:
2011-08-14 04:55:52 +00:00
parent 2fef8f13f0
commit 656adc53b4

View File

@@ -76,6 +76,8 @@ static SpaceLink *action_new(const bContext *C)
saction->autosnap = SACTSNAP_FRAME;
saction->mode= SACTCONT_DOPESHEET;
saction->ads.filterflag |= ADS_FILTER_SUMMARY;
/* header */
ar= MEM_callocN(sizeof(ARegion), "header for action");