Fix scenes file not working

This commit is contained in:
Zen 2021-08-14 00:24:50 +03:00
parent 013fc4f139
commit 6ea2299465

View file

@ -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