mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2026-10-24 12:38:10 +00:00
Assets with a name starting with ',' will now be always loaded as a default dependency.
This commit is contained in:
1 parent
56186d1d80
commit
3948feaaf8
1 file changed
+3
@@ -120,6 +120,9 @@ XAssetInfoGeneric* AssetCreationContext::LoadDependencyGeneric(const asset_type_
|
||||
return LoadDefaultAssetDependency(assetType, std::format(",{}", assetName));
|
||||
}
|
||||
|
||||
if (assetName.starts_with(','))
|
||||
return LoadDefaultAssetDependency(assetType, assetName);
|
||||
|
||||
if (m_ignored_asset_lookup->IsAssetIgnored(assetType, assetName))
|
||||
return LoadDefaultAssetDependency(assetType, std::format(",{}", assetName));
|
||||
|
||||
|
||||
Reference in new issue
Block a user