Browse Source
use internalname for terrain layers
stops bugs like spaces in filenames and the like from occuring due to pointing right at the diffuse flat file name, as well as corruption from using a different diffuse in the material later
(cherry picked from commit c1227dbdd0dd61c25970eeaac128c6cbe5d25947)