Skip to content

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

@Nicogene

Description

@Nicogene

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions