mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-07 06:20:40 +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
1 changed files with 1 additions and 0 deletions
|
|
@ -863,6 +863,7 @@ function sanitizeFilename(%file)
|
|||
%targetFilename = %targetPath @ "/" @ %targetName @ %targetExt;
|
||||
}
|
||||
|
||||
%targetFilename = strReplace(%targetFilename, "//", "/");
|
||||
/*if(!isFile(%targetFilename))
|
||||
{
|
||||
%bitmapFile = %targetPath @ "/" @ %targetName @ "_n" @ %targetExt;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue