1 liner, bug that raised an error with textureless materials.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user