mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-27 23:35:45 +00:00
Fixed logic for parsing registerDatablock paths to trim script extensions during import conversion
Fixed creation of materialAsset from AB to properly generate companion script file Fixed logic in project import that if we import in a legacy module script, we get rid of the newly generated one in favor of the old one
This commit is contained in:
parent
bdf32f4f7b
commit
2f5f585aaf
5 changed files with 60 additions and 24 deletions
|
|
@ -340,7 +340,7 @@ function MaterialEditorGui::prepareActiveObject( %this, %override )
|
|||
{
|
||||
%fieldName = %obj.getField(%i);
|
||||
|
||||
if( %obj.getFieldType(%fieldName) !$= "TypeMaterialAssetId" && %obj.getFieldType(%fieldName) !$= "TypeMaterialName")
|
||||
if( %obj.getFieldType(%fieldName) !$= "TypeMaterialAssetId" /*&& %obj.getFieldType(%fieldName) !$= "TypeMaterialName"*/)
|
||||
continue;
|
||||
|
||||
if( !%canSupportMaterial )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue