WIP: Fix for Blender 4 armature commands in release documentation #22

Closed
Geoff Gerber wants to merge 1 commits from Geoffrey-Gerber/blender-developer-docs:geoffrey-gerber-patch-1 into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
First-time contributor

All the armature commands are off of the data object in bpy.data.armatures['Armature'] in Blender 4.0. As a result, the original commands didn't work unless arm was set to bpy.data.armatures['Armature'].data, which is different that the behavior in earlier versions. This change is to clarify how to access the collections.

  • Add section on how to add/remove Bone Collection.
All the armature commands are off of the `data` object in `bpy.data.armatures['Armature']` in Blender 4.0. As a result, the original commands didn't work unless `arm` was set to `bpy.data.armatures['Armature'].data`, which is different that the behavior in earlier versions. This change is to clarify how to access the collections. - Add section on how to add/remove Bone Collection.
Geoff Gerber added 1 commit 2024-02-14 14:58:33 +01:00
All the armature commands are off of the `data` object in `bpy.data.armatures['Armature']` in Blender 4.0.  As a result, the original commands didn't work unless `arm` was set to `bpy.data.armatures['Armature'].data`, which is different that the behavior in earlier versions.  This change is to clarify how to access the collections.

- Add section on how to add/remove Bone Collection.
Geoff Gerber changed title from WIP: Fix for Blender 4 armature commands in release documentation to Fix for Blender 4 armature commands in release documentation 2024-02-14 15:22:33 +01:00
Geoff Gerber changed title from Fix for Blender 4 armature commands in release documentation to WIP: Fix for Blender 4 armature commands in release documentation 2024-02-15 15:49:39 +01:00
Author
First-time contributor

Setting this back to WIP. In the same Blender 4 session, the updated commands are no longer working, and the original documentation is correct. I need to figure out why armature = bpy.data.armatures['Armature'] is working differently between yesterday and today.

Setting this back to WIP. In the same Blender 4 session, the updated commands are no longer working, and the original documentation is correct. I need to figure out why `armature = bpy.data.armatures['Armature']` is working differently between yesterday and today.
Author
First-time contributor

Closing PR. Not sure why Blender was acting strangely, but I can't reproduce.

Closing PR. Not sure why Blender was acting strangely, but I can't reproduce.
Geoff Gerber closed this pull request 2024-02-16 14:55:09 +01:00

Pull request closed

Sign in to join this conversation.
No reviewers
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender-developer-docs#22
No description provided.