diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-02-21 10:13:40 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-02-21 13:41:31 +0300 |
commit | 8928d99270ff0dcafe23605221f271308e33f297 (patch) | |
tree | e043e66787c032f53532213aeecef4908cf7af8a /source/blender/blenkernel/intern/sequencer.c | |
parent | 9e707802c23318898e140da71a4c0a04e1c7125a (diff) |
VSE: skip non image/movie w/ proxy dir storagev2.79ablender-v2.79a-release
This would use uninitialized filename variable,
looked into supporting this however generating proxies currently only
works for movies.
Diffstat (limited to 'source/blender/blenkernel/intern/sequencer.c')
-rw-r--r-- | source/blender/blenkernel/intern/sequencer.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/sequencer.c b/source/blender/blenkernel/intern/sequencer.c index c8767e518f2..ab989cdcf32 100644 --- a/source/blender/blenkernel/intern/sequencer.c +++ b/source/blender/blenkernel/intern/sequencer.c @@ -1673,6 +1673,11 @@ static bool seq_proxy_get_fname(Editing *ed, Sequence *seq, int cfra, int render else if (seq->type == SEQ_TYPE_IMAGE) { fname[0] = 0; } + else { + /* We could make a name here, except non-movie's don't generate proxies, + * cancel until other types of sequence strips are supported. */ + return false; + } BLI_path_append(dir, sizeof(dir), fname); BLI_path_abs(name, G.main->name); } |