io_scene_3ds: cleanup texture handling #10
@ -313,7 +313,7 @@ def add_texture_to_material(image, contextWrapper, pct, extend, alpha, scale, of
|
||||
nodes.remove(own_node)
|
||||
for imgs in bpy.data.images:
|
||||
if imgs.name[-3:].isdigit():
|
||||
if not img.users:
|
||||
if not imgs.users:
|
||||
bpy.data.images.remove(imgs)
|
||||
else:
|
||||
links.new(img_wrap.node_image.outputs['Alpha'], img_wrap.socket_dst)
|
||||
|
Reference in New Issue
Block a user