mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-27 16:19:34 +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
1 changed files with 1 additions and 1 deletions
|
|
@ -1661,7 +1661,7 @@ function beginTerrainImport()
|
|||
if(%terrMatAssetId !$= "")
|
||||
{
|
||||
//Ok, success, lets run the rename
|
||||
if(%terrBlock.renameTerrainMaterial(%terrMatName, %terrMatName @ "_terrainMat"))
|
||||
if(%terrBlock.renameTerrainMaterial(%terrMatName, %terrMatAssetId))
|
||||
%matNamesChanged = true;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue