Transparent materials
Status: Beta
Brought to you by:
uschi0815
Transparent materials (using Blender's Alpha slider) work not as expected, the material will be exported as either totally opaque or totally transparent.
Fixed by changing line 606 of trainz_export_xml.py.
original:
stringOpacity = '<opacity>' + str(round( mat[0].alpha )) + '</opacity>'
changed to:
stringOpacity = '<opacity>' + str(round(mat[0].alpha, NDIGITS)) + '</opacity>'