Skip to content

Commit

Permalink
Fixed a minor issue that was printing a ton of errors in the console.
Browse files Browse the repository at this point in the history
  • Loading branch information
MeltyPlayer committed Nov 16, 2024
1 parent 5cdec1c commit 53575fb
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,12 @@ public IEnumerable<IModelBundle> Separate(
.ToArray();
}

return this.impl_[directoryToId(directory).ToString()]
.Separate(modelFiles, animationFiles);
if (this.impl_.TryGetValue(directoryToId(directory).ToString(),
out var separator)) {
return separator.Separate(modelFiles, animationFiles);
}

return [];
}
}

Expand Down

0 comments on commit 53575fb

Please sign in to comment.