Fix: Ensure that summary channel is enabled when creating timeline
This commit is contained in:
parent
b081436d1c
commit
636a690eb1
|
@ -144,6 +144,7 @@ static void do_version_area_change_space_to_space_action(ScrArea *area, const Sc
|
|||
|
||||
saction->mode = SACTCONT_TIMELINE;
|
||||
saction->ads.flag |= ADS_FLAG_SUMMARY_COLLAPSED;
|
||||
saction->ads.filterflag |= ADS_FILTER_SUMMARY;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -1500,9 +1500,10 @@ static void rna_SpaceDopeSheetEditor_mode_update(bContext *C, PointerRNA *ptr)
|
|||
saction->action = NULL;
|
||||
}
|
||||
|
||||
/* Collapse summary channel and hide channel list for timeline */
|
||||
/* Collapse (and show) summary channel and hide channel list for timeline */
|
||||
if (saction->mode == SACTCONT_TIMELINE) {
|
||||
saction->ads.flag |= ADS_FLAG_SUMMARY_COLLAPSED;
|
||||
saction->ads.filterflag |= ADS_FILTER_SUMMARY;
|
||||
}
|
||||
|
||||
if (sa && sa->spacedata.first == saction) {
|
||||
|
|
Loading…
Reference in New Issue