2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2025-10-26 16:25:51 +00:00

feat: report on unlinking progress

This commit is contained in:
Jan Laupetin
2025-10-14 23:20:56 +01:00
parent 9fa41ca0d3
commit c6e9cbedda
159 changed files with 686 additions and 802 deletions

View File

@@ -619,14 +619,14 @@ namespace
MemoryManager memory;
MockSearchPath mockObjPath;
MockOutputPath mockOutput;
AssetDumpingContext context(zone, "", mockOutput, mockObjPath);
AssetDumpingContext context(zone, "", mockOutput, mockObjPath, std::nullopt);
AssetPoolDynamic<Material> materialPool(0);
GivenMaterial("mc/ch_rubble01", materialPool, memory);
material::JsonDumperT5 dumper;
dumper.DumpPool(context, &materialPool);
dumper.DumpPool(context, materialPool);
const auto* file = mockOutput.GetMockedFile("materials/mc/ch_rubble01.json");
REQUIRE(file);