Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'Curve' object has no attribute 'uv_layers' error, in op_island_align_world.py (35) #254

Open
Elbriga14 opened this issue Jan 8, 2025 · 1 comment

Comments

@Elbriga14
Copy link

This line is causing an error spamming our logs when applied to a curve
(op_island_align_world.py, l.35)

if not bpy.context.object.data.uv_layers:
    return False

Error is:
'Curve' object has no attribute 'uv_layers'

Line probably should be

if not hasattr(bpy.context.object.data, 'uv_layers'):
    return False
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@Elbriga14 and others