Updated type string for imported materials.

这个提交包含在:
Craig Warren
2016-10-10 16:43:10 +01:00
父节点 29534fe670
当前提交 762ec813e4

查看文件

@@ -93,7 +93,10 @@ def process_geometrycmds(geometry, G):
# Update material type # Update material type
for material in G.materials: for material in G.materials:
if material.numID >= numexistmaterials: if material.numID >= numexistmaterials:
material.type += ', imported' if material.type:
material.type += ', imported'
else:
material.type = 'imported'
# See if geometry object file exists at specified path and if not try input file directory # See if geometry object file exists at specified path and if not try input file directory
if not os.path.isfile(geofile): if not os.path.isfile(geofile):