VSE: skip non image/movie w/ proxy dir storage

This would use uninitialized filename variable,
looked into supporting this however generating proxies currently only
works for movies.
This commit is contained in:
Campbell Barton 2018-02-21 18:13:40 +11:00
parent 35f225b44c
commit 6535f668b4
Notes: blender-bot 2023-02-14 08:38:11 +01:00
Referenced by issue #54259, Scene Proxies in the Video Sequence Editor
Referenced by issue #54048, VSE : Mangled proxy directory for scene/meta strips
Referenced by issue #53792, VSE scene proxy crash
Referenced by issue #53683, 2.79a release
1 changed files with 5 additions and 0 deletions

View File

@ -1676,6 +1676,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);
}