Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Leung <aligorith@gmail.com>2011-08-14 08:55:52 +0400
committerJoshua Leung <aligorith@gmail.com>2011-08-14 08:55:52 +0400
commit656adc53b42194e0b9da8d7ead307a023b8753e9 (patch)
treed2bced541ff74c50ee330ab77fe05ee37fc671b3 /source/blender/editors/space_action
parent2fef8f13f0189a8a748e6729081a4e5cb769314b (diff)
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 :)
Diffstat (limited to 'source/blender/editors/space_action')
-rw-r--r--source/blender/editors/space_action/space_action.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/space_action/space_action.c b/source/blender/editors/space_action/space_action.c
index 8cd6e388b08..4baaa469127 100644
--- a/source/blender/editors/space_action/space_action.c
+++ b/source/blender/editors/space_action/space_action.c
@@ -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");