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/IW3/Material/DumperMaterialIW3.h"
|
||||
#include "Game/IW3/Material/MaterialJsonDumperIW3.h"
|
||||
|
||||
#include "Asset/AssetRegistration.h"
|
||||
#include "Game/IW3/CommonIW3.h"
|
||||
@@ -562,7 +562,7 @@ namespace
|
||||
|
||||
GivenMaterial("wc/ch_plasterwall_long", materialPool, memory);
|
||||
|
||||
AssetDumperMaterial dumper;
|
||||
material::JsonDumper dumper;
|
||||
dumper.DumpPool(context, &materialPool);
|
||||
|
||||
const auto* file = mockOutput.GetMockedFile("materials/wc/ch_plasterwall_long.json");
|
Reference in New Issue
Block a user