mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 11:43:49 +00:00
Merge remote-tracking branch 'devhead/Preview4_0' into tsneo
This commit is contained in:
commit
485330ec7a
6 changed files with 17 additions and 15 deletions
|
|
@ -235,6 +235,7 @@ function T3Dpre4ProjectImporter::beginMaterialFilesImport(%this)
|
|||
if(strIsMatchExpr("*new*(*)*", %line) && strpos(%line, "::") == -1)
|
||||
{
|
||||
%className = findObjectClass(%line, "new");
|
||||
if (%className $= "") continue;
|
||||
|
||||
if(%className !$= "Material" && %className !$= "CustomMaterial" && %className !$= "TerrainMaterial" && %className !$= "CubemapData")
|
||||
{
|
||||
|
|
@ -463,6 +464,7 @@ function T3Dpre4ProjectImporter::beginCodeFilesImport(%this)
|
|||
if(strIsMatchExpr("*new*(*)*", %line) && strpos(%line, "::") == -1)
|
||||
{
|
||||
%className = findObjectClass(%line, "new");
|
||||
if (%className $= "") continue;
|
||||
|
||||
%objectClassStack.push_back(%className);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue