mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-19 20:24:49 +00:00
Fix handling of filenames starting with ./
Restores a line for removing double slashes that got caught in a comment block
This commit is contained in:
parent
a51bccf222
commit
50acaec19c
|
|
@ -863,6 +863,7 @@ function sanitizeFilename(%file)
|
|||
%targetFilename = %targetPath @ "/" @ %targetName @ %targetExt;
|
||||
}
|
||||
|
||||
%targetFilename = strReplace(%targetFilename, "//", "/");
|
||||
/*if(!isFile(%targetFilename))
|
||||
{
|
||||
%bitmapFile = %targetPath @ "/" @ %targetName @ "_n" @ %targetExt;
|
||||
|
|
|
|||
Loading…
Reference in a new issue