mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-19 20:24:49 +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
|
|
@ -289,7 +289,7 @@ StringTableEntry ImageAsset::getAssetIdByFilename(StringTableEntry fileName)
|
|||
Torque::Path temp1 = temp->getImageFile();
|
||||
Torque::Path temp2 = fileName;
|
||||
|
||||
if (temp1.getFileName() == temp2.getFileName())
|
||||
if (temp1 == temp2)
|
||||
{
|
||||
return imgAsset;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue