mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-10-27 00:26:57 +00:00
feat: report on unlinking progress
This commit is contained in:
@@ -556,14 +556,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("wc/ch_plasterwall_long", materialPool, memory);
|
||||
|
||||
material::JsonDumperIW3 dumper;
|
||||
dumper.DumpPool(context, &materialPool);
|
||||
dumper.DumpPool(context, materialPool);
|
||||
|
||||
const auto* file = mockOutput.GetMockedFile("materials/wc/ch_plasterwall_long.json");
|
||||
REQUIRE(file);
|
||||
|
||||
Reference in New Issue
Block a user