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 | |
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')
-rw-r--r-- | source/blender/blenloader/intern/versioning_280.c | 11 | ||||
-rw-r--r-- | source/blender/blenloader/intern/versioning_defaults.c | 2 |
2 files changed, 12 insertions, 1 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; + } + } + } + } } } diff --git a/source/blender/blenloader/intern/versioning_defaults.c b/source/blender/blenloader/intern/versioning_defaults.c index 035e6c88faa..f4288b1d174 100644 --- a/source/blender/blenloader/intern/versioning_defaults.c +++ b/source/blender/blenloader/intern/versioning_defaults.c @@ -174,7 +174,7 @@ static void blo_update_defaults_screen(bScreen *screen, } else if (area->spacetype == SPACE_SEQ) { SpaceSeq *seq = area->spacedata.first; - seq->flag |= SEQ_SHOW_MARKERS; + seq->flag |= SEQ_SHOW_MARKERS | SEQ_SHOW_FCURVES; } else if (area->spacetype == SPACE_TEXT) { /* Show syntax and line numbers in Script workspace text editor. */ |