Fix #105045: Error importing FBX custom properties on placeholder PoseBones #105053

Closed
Thomas Barlow wants to merge 1 commits from Mysteryem/blender-addons:fbx_4_0_placeholder_custom_prop_backport into blender-v4.0-release

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
Member

Caused by not understanding an uncommon import case in 716702b97e where
a bone can be created without an FBX Node to import custom properties
from.

A bone in Blender is always created from an FBX Node, so it seemed like
all bones should have an FBX Node that custom properties can be imported
from. However, FBX allows bone and non-bone Nodes to be parented to one
another, which Blender cannot represent exactly due to Armatures only
containing bones. In such cases, the non-bone Node is imported as an
Object, but a bone with the same name is also created (which the Object
is parented to). The newly created bone doesn't have a Node to import
custom properties from because the Node belongs to the imported Object
instead.


This is a request to backport f21b90cbab for Blender 4.0 with the conflicts in bl_info resolved.

Caused by not understanding an uncommon import case in 716702b97e where a bone can be created without an FBX Node to import custom properties from. A bone in Blender is always created from an FBX Node, so it seemed like all bones should have an FBX Node that custom properties can be imported from. However, FBX allows bone and non-bone Nodes to be parented to one another, which Blender cannot represent exactly due to Armatures only containing bones. In such cases, the non-bone Node is imported as an Object, but a bone with the same name is also created (which the Object is parented to). The newly created bone doesn't have a Node to import custom properties from because the Node belongs to the imported Object instead. --- This is a request to backport f21b90cbab for Blender 4.0 with the conflicts in `bl_info` resolved.
Thomas Barlow added 1 commit 2023-12-09 03:21:22 +01:00
Caused by not understanding an uncommon import case in 716702b97e where
a bone can be created without an FBX Node to import custom properties
from.

A bone in Blender is always created from an FBX Node, so it seemed like
all bones should have an FBX Node that custom properties can be imported
from. However, FBX allows bone and non-bone Nodes to be parented to one
another, which Blender cannot represent exactly due to Armatures only
containing bones. In such cases, the non-bone Node is imported as an
Object, but a bone with the same name is also created (which the Object
is parented to). The newly created bone doesn't have a Node to import
custom properties from because the Node belongs to the imported Object
instead.
Thomas Barlow requested review from Bastien Montagne 2023-12-09 03:31:01 +01:00
Bastien Montagne approved these changes 2023-12-19 12:05:29 +01:00
Member

Hi, AFAIK there won't be another 4.0.x corrective release so we can close this PR :)

Hi, AFAIK there won't be another 4.0.x corrective release so we can close this PR :)
Member

Yes, there won't be 4.0.3 release, closing.

Yes, there won't be 4.0.3 release, closing.
Pratik Borhade closed this pull request 2024-01-10 12:39:25 +01:00

Pull request closed

Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
3 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-addons#105053
No description provided.