mirror of
https://github.com/master-of-zen/Av1an.git
synced 2024-11-25 02:29:40 +00:00
Fix scenes file not working
This commit is contained in:
parent
013fc4f139
commit
6ea2299465
1 changed files with 5 additions and 1 deletions
|
@ -1278,7 +1278,11 @@ impl Project {
|
|||
|path| Path::new(&path).to_path_buf(),
|
||||
);
|
||||
|
||||
let mut scenes = if self.resume {
|
||||
let mut scenes = if self.scenes.is_some() && scene_file.exists() {
|
||||
crate::split::read_scenes_from_file(scene_file.as_path())
|
||||
.unwrap()
|
||||
.0
|
||||
} else if self.resume {
|
||||
crate::split::read_scenes_from_file(scene_file.as_path())
|
||||
.unwrap()
|
||||
.0
|
||||
|
|
Loading…
Reference in a new issue