mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-19 20:24:49 +00:00
Merge pull request #569 from Areloch/guiContentImportFix
%guiContent importer compliance fix
This commit is contained in:
commit
772c0ae25b
|
|
@ -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…
Reference in a new issue