Skip to content

Commit a3bb02d

Browse files
committed
another fixes
1 parent bdb055f commit a3bb02d

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

include/nbl/system/CAPKResourcesArchive.h

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,17 @@ class CAPKResourcesArchive : public IFileArchive
6565
}
6666
res.insert(res.end(), recRes.begin(), recRes.end());
6767
}
68+
else
69+
{
70+
if (std::string(asset_path) == "")
71+
{
72+
res.push_back(p);
73+
}
74+
else
75+
{
76+
res.push_back((std::filesystem::path(asset_path) / p));
77+
}
78+
}
6879
}
6980
res.insert(res.end(), curDirFiles.begin(), curDirFiles.end());
7081
return res;

0 commit comments

Comments
 (0)