mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 08:34:40 +00:00
Fixes imageAsset lookup so if we're looking up a full filename path, we compare the actual full paths
This commit is contained in:
parent
8ed3bab44c
commit
029427d51c
1 changed files with 1 additions and 1 deletions
|
|
@ -289,7 +289,7 @@ StringTableEntry ImageAsset::getAssetIdByFilename(StringTableEntry fileName)
|
||||||
Torque::Path temp1 = temp->getImageFile();
|
Torque::Path temp1 = temp->getImageFile();
|
||||||
Torque::Path temp2 = fileName;
|
Torque::Path temp2 = fileName;
|
||||||
|
|
||||||
if (temp1.getFileName() == temp2.getFileName())
|
if (temp1 == temp2)
|
||||||
{
|
{
|
||||||
return imgAsset;
|
return imgAsset;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue