1 liner, bug that raised an error with textureless materials.

This commit is contained in:
Campbell Barton
2006-06-06 18:12:29 +00:00
parent b8c6c1fdf0
commit d435b02930

View File

@@ -355,7 +355,7 @@ def process_next_chunk(file, previous_chunk, importedObjects):
if img:
targetFace.image= img
tempName= contextObName + '_' + matName
tempName= contextObName + '_' + str(matName) # str because we may be None
bmesh.name= tempName
ob = Object.New('Mesh', tempName)
ob.link(bmesh)