mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2026-11-08 17:51:58 +00:00
refactor: generate asset code once per asset/variant combination
This commit is contained in:
12 files changed
+380
-312
No files matched your search
@@ -141,7 +141,7 @@ bool CodeGenerator::GenerateCode(const IDataRepository* repository)
|
||||
return false;
|
||||
}
|
||||
|
||||
for (auto* variant : repository->GetGameVariants())
|
||||
for (const auto* variant : repository->GetGameVariants())
|
||||
{
|
||||
for (auto* asset : assets)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user