diff options
author | Richard Antalik <richardantalik@gmail.com> | 2020-04-06 01:38:48 +0300 |
---|---|---|
committer | Richard Antalik <richardantalik@gmail.com> | 2020-04-06 01:52:29 +0300 |
commit | d0d20de183f1afc77a97a119afb66e64799ebc6f (patch) | |
tree | 91819e9b5b71a49ba2c8887728420b2f4d9d99ad /source/blender/blenloader/intern/versioning_280.c | |
parent | 0e7599bc15d85d59072a945dba50d2e8c09666a6 (diff) |
VSE: Draw f-curves for opacity and volume values on the strips
Feature can be enabled or disabled in timeline view menu item "Show F-Curves".
Author a.monti
Reviewed By: ISS
Differential Revision: https://developer.blender.org/D7205
Diffstat (limited to 'source/blender/blenloader/intern/versioning_280.c')
-rw-r--r-- | source/blender/blenloader/intern/versioning_280.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/source/blender/blenloader/intern/versioning_280.c b/source/blender/blenloader/intern/versioning_280.c index ff87756f436..a95cb74af51 100644 --- a/source/blender/blenloader/intern/versioning_280.c +++ b/source/blender/blenloader/intern/versioning_280.c @@ -665,6 +665,17 @@ static void do_versions_area_ensure_tool_region(Main *bmain, } } } + /* Activate fcurves drawing in the vse. */ + for (bScreen *screen = bmain->screens.first; screen; screen = screen->id.next) { + for (ScrArea *area = screen->areabase.first; area; area = area->next) { + for (SpaceLink *sl = area->spacedata.first; sl; sl = sl->next) { + if (sl->spacetype == SPACE_SEQ) { + SpaceSeq *sseq = (SpaceSeq *)sl; + sseq->flag |= SEQ_SHOW_FCURVES; + } + } + } + } } } |