mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-04-21 00:25:44 +00:00
fix: indirect asset references may not be fully lower case
This commit is contained in:
parent
d2827e5e4d
commit
a3dfb9e431
@ -1,5 +1,7 @@
|
|||||||
#include "XAssetInfo.h"
|
#include "XAssetInfo.h"
|
||||||
|
|
||||||
|
#include "Utils/StringUtils.h"
|
||||||
|
|
||||||
IndirectAssetReference::IndirectAssetReference()
|
IndirectAssetReference::IndirectAssetReference()
|
||||||
: m_type(-1)
|
: m_type(-1)
|
||||||
{
|
{
|
||||||
@ -9,6 +11,7 @@ IndirectAssetReference::IndirectAssetReference(const asset_type_t type, std::str
|
|||||||
: m_type(type),
|
: m_type(type),
|
||||||
m_name(std::move(name))
|
m_name(std::move(name))
|
||||||
{
|
{
|
||||||
|
utils::MakeStringLowerCase(m_name);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool operator==(const IndirectAssetReference& lhs, const IndirectAssetReference& rhs)
|
bool operator==(const IndirectAssetReference& lhs, const IndirectAssetReference& rhs)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user