mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-13 15:44:36 +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 = %targetPath @ "/" @ %targetName @ %targetExt;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
%targetFilename = strReplace(%targetFilename, "//", "/");
|
||||||
/*if(!isFile(%targetFilename))
|
/*if(!isFile(%targetFilename))
|
||||||
{
|
{
|
||||||
%bitmapFile = %targetPath @ "/" @ %targetName @ "_n" @ %targetExt;
|
%bitmapFile = %targetPath @ "/" @ %targetName @ "_n" @ %targetExt;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue