[Bf-blender-cvs] [020c93360fd] blender2.8: Fix: Set defaults for converted timeline editors properly

Joshua Leung noreply at git.blender.org
Mon Apr 23 14:06:05 CEST 2018


Commit: 020c93360fd61f8350dfb306f22a8d999cb73711
Author: Joshua Leung
Date:   Mon Apr 23 13:59:22 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB020c93360fd61f8350dfb306f22a8d999cb73711

Fix: Set defaults for converted timeline editors properly

(Summary channels for the "timeline" dopesheet wasn't collapsed as it should be)

===================================================================

M	source/blender/blenloader/intern/versioning_280.c

===================================================================

diff --git a/source/blender/blenloader/intern/versioning_280.c b/source/blender/blenloader/intern/versioning_280.c
index bfcd6ca27f9..05ae70b0971 100644
--- a/source/blender/blenloader/intern/versioning_280.c
+++ b/source/blender/blenloader/intern/versioning_280.c
@@ -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;
 }
 
 /**



More information about the Bf-blender-cvs mailing list