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

AttributeError: 'Object' has no attribute 'layers' when exporting as .gr2 #264

Open
GryffArt3D opened this issue Oct 3, 2024 · 0 comments

Comments

@GryffArt3D
Copy link

The following error appears when i attempt to use the addon to export a rigged and animated character as a .gr2:

Python: Traceback (most recent call last):
File "C:\Users\gurfe\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\io_scene_dos2de_init_.py", line 1069, in invoke
self.update_filepath(context)
File "C:\Users\gurfe\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\io_scene_dos2de_init_.py", line 636, in update_filepath
obj = next(iter([x for x in context.scene.objects if x.type == "ARMATURE" and x.layers[context.scene.active_layer]]))
File "C:\Users\gurfe\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\io_scene_dos2de_init_.py", line 636, in
obj = next(iter([x for x in context.scene.objects if x.type == "ARMATURE" and x.layers[context.scene.active_layer]]))
AttributeError: 'Object' object has no attribute 'layers'

let me know if there's anything i can provide to help solve this problem

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

1 participant