mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-09-01 22:47:26 +00:00
refactor: streamline material dumping
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#include "Game/T6/Material/DumperMaterialT6.h"
|
||||
#include "Game/T6/Material/MaterialJsonDumperT6.h"
|
||||
|
||||
#include "Asset/AssetRegistration.h"
|
||||
#include "Game/T6/CommonT6.h"
|
||||
@@ -472,7 +472,7 @@ namespace
|
||||
AssetPoolDynamic<Material> materialPool(0);
|
||||
GivenMaterial("wpc/metal_ac_duct", materialPool, memory);
|
||||
|
||||
AssetDumperMaterial dumper;
|
||||
material::JsonDumper dumper;
|
||||
dumper.DumpPool(context, &materialPool);
|
||||
|
||||
const auto* file = mockOutput.GetMockedFile("materials/wpc/metal_ac_duct.json");
|
Reference in New Issue
Block a user