mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-13 00:08:26 -05:00
Add skip obj unlinker arg
This commit is contained in:
@ -45,7 +45,7 @@ class Unlinker::Impl
|
||||
|
||||
_NODISCARD bool ShouldLoadObj() const
|
||||
{
|
||||
return m_args.m_task != UnlinkerArgs::ProcessingTask::LIST;
|
||||
return m_args.m_task != UnlinkerArgs::ProcessingTask::LIST && !m_args.m_skip_obj;
|
||||
}
|
||||
|
||||
/**
|
||||
@ -403,7 +403,7 @@ class Unlinker::Impl
|
||||
if (ShouldLoadObj())
|
||||
{
|
||||
ObjLoading::LoadReferencedContainersForZone(&searchPathsForZone, zone.get());
|
||||
ObjLoading::LoadObjDataForZone(&searchPathsForZone, zone.get());
|
||||
ObjLoading::LoadObjDataForZone(&searchPathsForZone, zone.get());
|
||||
}
|
||||
|
||||
if (!HandleZone(zone.get()))
|
||||
|
Reference in New Issue
Block a user