mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-07 06:20:40 +00:00
Merge pull request #975 from AtomicWalrus/ProjectImporterFilenameDotSlashFix
Project importer: Fix handling of filenames starting with ./
This commit is contained in:
commit
39b9b47caf
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