mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-10-26 08:15:54 +00:00
feat: report on unlinking progress
This commit is contained in:
@@ -1110,17 +1110,12 @@ namespace
|
||||
|
||||
namespace material
|
||||
{
|
||||
bool DecompilingGdtDumperIW4::ShouldDump(XAssetInfo<Material>* asset)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
void DecompilingGdtDumperIW4::DumpAsset(AssetDumpingContext& context, XAssetInfo<Material>* asset)
|
||||
void DecompilingGdtDumperIW4::DumpAsset(AssetDumpingContext& context, const XAssetInfo<Material>& asset)
|
||||
{
|
||||
if (!context.m_gdt)
|
||||
return;
|
||||
|
||||
MaterialGdtDumper dumper(*asset->Asset());
|
||||
MaterialGdtDumper dumper(*asset.Asset());
|
||||
context.m_gdt->WriteEntry(dumper.CreateGdtEntry());
|
||||
}
|
||||
} // namespace material
|
||||
|
||||
Reference in New Issue
Block a user