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