mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-06 05:50:31 +00:00
Merge pull request #569 from Areloch/guiContentImportFix
%guiContent importer compliance fix
This commit is contained in:
commit
772c0ae25b
1 changed files with 6 additions and 0 deletions
|
|
@ -470,6 +470,12 @@ function T3Dpre4ProjectImporter::beginCodeFilesImport(%this)
|
|||
|
||||
%objectName = findObjectName(%line, "new");
|
||||
|
||||
if(strIsMatchExpr("*%guiContent*=*new*", %line))
|
||||
{
|
||||
%line = strReplace(%line, "%guiContent", "$guiContent");
|
||||
%fileWasChanged = true;
|
||||
}
|
||||
|
||||
if(%objectName !$= "")
|
||||
{
|
||||
%sanitizedName = sanitizeString(%objectName);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue