Skip to content

Commit 20c1caf

Browse files
committed
wav existence check is now passed through when debug build.
1 parent f92e529 commit 20c1caf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

OpenUtau.Core/Classic/VoicebankLoader.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -386,11 +386,13 @@ static Oto ParseOto(string line, FileTrace trace) {
386386
oto.Error = $"{trace}\nFailed to parse overlap. Format is {format}.";
387387
return oto;
388388
}
389+
#if DEBUG == false
389390
string path = Path.Combine(Path.GetDirectoryName(trace.file), oto.Wav);
390391
if (!File.Exists(path)) {
391392
oto.Error = $"{trace}\nSound file missing. {path}";
392393
return oto;
393394
}
395+
#endif
394396
oto.IsValid = true;
395397
return oto;
396398
}

0 commit comments

Comments
 (0)