mirror of
https://github.com/JannisX11/blockbench.git
synced 2024-12-03 04:40:46 +08:00
Merge pull request #2032 from Steelsmasher/Steelsmasherpatch-1
Remove trailing space from map_Kd property
This commit is contained in:
commit
9bf93f361c
@ -376,7 +376,7 @@ var codec = new Codec('obj', {
|
||||
if (materials.hasOwnProperty(key) && materials[key]) {
|
||||
var tex = materials[key];
|
||||
mtlOutput += 'newmtl m_' +key+ '\n'
|
||||
mtlOutput += `map_Kd ${tex.name} \n`;
|
||||
mtlOutput += `map_Kd ${tex.name}\n`;
|
||||
}
|
||||
}
|
||||
mtlOutput += 'newmtl none'
|
||||
|
Loading…
Reference in New Issue
Block a user