Skip to content

Commit

Permalink
Merge pull request #1032 from oxygen-dioxide/vogen-singer-loader
Browse files Browse the repository at this point in the history
fix not loading vogen voicebanks if "load all depth folders" is turned off
  • Loading branch information
stakira authored Feb 6, 2024
2 parents 3b316a4 + 47d4a21 commit ffe1dd0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions OpenUtau.Core/Vogen/VogenSingerLoader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,7 @@ public IEnumerable<USinger> SearchAll() {
files = Directory.EnumerateFiles(basePath, "*.vogeon", SearchOption.AllDirectories);
} else {
// TopDirectoryOnly
files = Directory.GetDirectories(basePath)
.SelectMany(path => Directory.EnumerateFiles(path, "*.vogeon"));
files = Directory.EnumerateFiles(basePath, "*.vogeon");
}
result.AddRange(files
.Select(filePath => {
Expand Down

0 comments on commit ffe1dd0

Please sign in to comment.