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

urdfToBlender: edit_bones cleared when changing mode set to OBJECT using Blender 4.x #30

Open
Nicogene opened this issue Dec 3, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Nicogene
Copy link
Member

Nicogene commented Dec 3, 2024

For what I recall (:D) changing mode set to OBJECT ( bpy.ops.object.mode_set(mode='OBJECT')) is needed to save the changes made to the armature.

While testing urdfToBlender w/ @randaz81 with Blender 4.x, edit_bones structure is cleared when changing the mode set, making crash the script.

With Blender 3.x it works just fine, probably they made a breaking change in the API.

@Nicogene Nicogene added the bug Something isn't working label Dec 3, 2024
@Nicogene Nicogene changed the title urdfToBlender: edit_bones cleared when changing mode set to OBJECT urdfToBlender: edit_bones cleared when changing mode set to OBJECT using Blender 4.x Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant