mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-19 20:24:49 +00:00
Made renaming of terrain materials on importing terrainblocks to use the full assetId, as it should
This commit is contained in:
parent
cf8659735b
commit
26044677c1
|
|
@ -1661,7 +1661,7 @@ function beginTerrainImport()
|
||||||
if(%terrMatAssetId !$= "")
|
if(%terrMatAssetId !$= "")
|
||||||
{
|
{
|
||||||
//Ok, success, lets run the rename
|
//Ok, success, lets run the rename
|
||||||
if(%terrBlock.renameTerrainMaterial(%terrMatName, %terrMatName @ "_terrainMat"))
|
if(%terrBlock.renameTerrainMaterial(%terrMatName, %terrMatAssetId))
|
||||||
%matNamesChanged = true;
|
%matNamesChanged = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue