fixed uninitialized local variable
This commit is contained in:
parent
3581bdc6b9
commit
3e8cf5e570
@ -545,10 +545,10 @@ def import_node(node, parent):
|
||||
else:
|
||||
ob.data.materials.append(mat)
|
||||
|
||||
# assign uv images
|
||||
for uv_face in ob.data.uv_textures.active.data:
|
||||
if mat.active_texture:
|
||||
uv_face.image = mat.active_texture.image
|
||||
# assign uv images
|
||||
for uv_face in ob.data.uv_textures.active.data:
|
||||
if mat.active_texture:
|
||||
uv_face.image = mat.active_texture.image
|
||||
|
||||
if len(node['meshes']) and postprocess:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user