Fix: Set defaults for converted timeline editors properly

(Summary channels for the "timeline" dopesheet wasn't collapsed as it should be)
This commit is contained in:
Joshua Leung 2018-04-23 13:59:22 +02:00
parent 3f21023f24
commit 020c93360f
1 changed files with 2 additions and 0 deletions

View File

@ -134,7 +134,9 @@ static void do_version_area_change_space_to_space_action(ScrArea *area, const Sc
/* Different defaults for timeline */
region_channels = BKE_area_find_region_type(area, RGN_TYPE_CHANNELS);
region_channels->flag |= RGN_FLAG_HIDDEN;
saction->mode = SACTCONT_TIMELINE;
saction->ads.flag |= ADS_FLAG_SUMMARY_COLLAPSED;
}
/**