Made renaming of terrain materials on importing terrainblocks to use the full assetId, as it should

This commit is contained in:
JeffR 2022-03-20 16:42:21 -05:00
parent cf8659735b
commit 26044677c1

View file

@ -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;
}
}