mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-05-09 14:04:57 +00:00
fix: make vertex decl asset references work when building
This commit is contained in:
parent
d1a189defc
commit
976fbf94f8
@ -48,6 +48,10 @@ bool AssetLoaderVertexDecl::LoadFromRaw(
|
||||
MaterialVertexDeclaration decl{};
|
||||
|
||||
size_t currentOffset = 0u;
|
||||
|
||||
if (!assetName.empty() && assetName[0] == ',')
|
||||
currentOffset = 1u;
|
||||
|
||||
std::string sourceAbbreviation;
|
||||
while (NextAbbreviation(assetName, sourceAbbreviation, currentOffset))
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user