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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user