|
@@ -205,11 +205,6 @@ function T3Dpre4ProjectImporter::beginMaterialFilesImport(%this)
|
|
|
%currentPage-->processingText.setText("Processing material script file: " @ %file);
|
|
|
Canvas.repaint();
|
|
|
|
|
|
- if(%file $= "data/FPSGameplay/art/terrains/materials.tscript")
|
|
|
- {
|
|
|
- %agafdgadfgsdfg = true;
|
|
|
- }
|
|
|
-
|
|
|
if ( $ProjectImporter::fileObject.openForRead( %file ) )
|
|
|
{
|
|
|
echo("Legacy Project Importer - Beginning process of file: " @ %file);
|
|
@@ -426,6 +421,9 @@ function T3Dpre4ProjectImporter::beginCodeFilesImport(%this)
|
|
|
if(strIsMatchExpr("*new*(*)*", %line))
|
|
|
{
|
|
|
%className = findObjectClass(%line, "new");
|
|
|
+
|
|
|
+ %objectClassStack.push_back(%className);
|
|
|
+
|
|
|
%objectName = findObjectName(%line, "new");
|
|
|
|
|
|
if(%objectName !$= "")
|
|
@@ -482,6 +480,9 @@ function T3Dpre4ProjectImporter::beginCodeFilesImport(%this)
|
|
|
else if(strIsMatchExpr("*singleton*(*)*", %line))
|
|
|
{
|
|
|
%className = findObjectClass(%line, "singleton");
|
|
|
+
|
|
|
+ %objectClassStack.push_back(%className);
|
|
|
+
|
|
|
%objectName = findObjectName(%line, "singleton");
|
|
|
|
|
|
if(%objectName !$= "")
|
|
@@ -507,6 +508,9 @@ function T3Dpre4ProjectImporter::beginCodeFilesImport(%this)
|
|
|
else if(strIsMatchExpr("*datablock*(*)*", %line))
|
|
|
{
|
|
|
%className = findObjectClass(%line, "datablock");
|
|
|
+
|
|
|
+ %objectClassStack.push_back(%className);
|
|
|
+
|
|
|
%objectName = findObjectName(%line, "datablock");
|
|
|
|
|
|
if(%objectName !$= "")
|
|
@@ -721,7 +725,7 @@ T3Dpre4ProjectImporter::genProcessor("GroundCover", "material materialAsset shap
|
|
|
T3Dpre4ProjectImporter::genProcessor("GroundPlane", "material materialAsset");
|
|
|
T3Dpre4ProjectImporter::genProcessor("LevelInfo", "accuTexture accuTextureAsset");
|
|
|
T3Dpre4ProjectImporter::genProcessor("TSStatic", "shape shapeAsset shapeName shapeAsset");
|
|
|
-T3Dpre4ProjectImporter::genProcessor("TSForestItemData", "shape shapeAsset shapeName shapeAsset");
|
|
|
+T3Dpre4ProjectImporter::genProcessor("TSForestItemData", "shape shapeAsset shapeName shapeAsset shapeFile shapeAsset");
|
|
|
//==============================================================================
|
|
|
// Levels
|
|
|
//==============================================================================
|