diff options
Diffstat (limited to 'uv_magic_uv/common.py')
-rw-r--r-- | uv_magic_uv/common.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/uv_magic_uv/common.py b/uv_magic_uv/common.py index 961ce447..5e4fd486 100644 --- a/uv_magic_uv/common.py +++ b/uv_magic_uv/common.py @@ -409,7 +409,8 @@ def find_image(obj, face=None, tex_layer=None): nodes = find_texture_nodes(obj) if len(nodes) >= 2: raise RuntimeError("Find more than 2 texture nodes") - img = nodes[0].image + if len(nodes) == 1: + img = nodes[0].image return img |