mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-10-21 13:56:42 +00:00
feat: report on unlinking progress
This commit is contained in:
@@ -76,19 +76,14 @@ namespace image
|
||||
}
|
||||
}
|
||||
|
||||
bool DumperT5::ShouldDump(XAssetInfo<GfxImage>* asset)
|
||||
void DumperT5::DumpAsset(AssetDumpingContext& context, const XAssetInfo<GfxImage>& asset)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
void DumperT5::DumpAsset(AssetDumpingContext& context, XAssetInfo<GfxImage>* asset)
|
||||
{
|
||||
const auto* image = asset->Asset();
|
||||
const auto* image = asset.Asset();
|
||||
const auto texture = LoadImageData(context.m_obj_search_path, *image);
|
||||
if (!texture)
|
||||
return;
|
||||
|
||||
const auto assetFile = context.OpenAssetFile(GetFileNameForAsset(asset->m_name, m_writer->GetFileExtension()));
|
||||
const auto assetFile = context.OpenAssetFile(GetFileNameForAsset(asset.m_name, m_writer->GetFileExtension()));
|
||||
|
||||
if (!assetFile)
|
||||
return;
|
||||
|
Reference in New Issue
Block a user