FBX importer with Force Connect Children doesn't work properly with objects parented to the bones #105217
Labels
No Label
Interest
Animation & Rigging
Interest
Blender Cloud
Interest
Collada
Interest
Core
Interest
Documentation
Interest
Eevee & Viewport
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
Import and Export
Interest
Modeling
Interest
Modifiers
Interest
Nodes & Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds, Tests & Devices
Interest
Python API
Interest
Rendering & Cycles
Interest
Sculpt, Paint & Texture
Interest
Translations
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Meta
Good First Issue
Meta
Papercut
Module
Add-ons (BF-Blender)
Module
Add-ons (Community)
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#105217
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Operating system: Windows 10 Pro
Graphics card: NVIDIA GeForce GTX 1650 Ti
Blender Version
Broken: 3.6.9 and 4.0.2
Worked: none
Short description of error
This problem occurs when you import an FBX file containing meshes parented to bones with the following option set:
Armature -> Force Connect Children
I made this very simple example model to illustrate the problem. It's just a cube attached to the second bone.
This is what I get on import in the current version.
This is what I expected:
I could narrow down the problem to this line in the source of "import_fbx.py":
This doesn't take into account that bone.tail is changed in "child_connect_finalize" later on.
To fix this, remove the line above and add this after "child_connect_finalize(bone, connect_ctx)".
The problem seems to disappear.
Exact steps for others to reproduce the error
Open the attached Blender file and export it as FBX.
Import it back into blender without "Force Connect Childen". It works fine.
Import it back into blender with "Force Connect Childen". It looks wrong.
Hi, thanks for the report. Can confirm.
@Mysteryem maybe interested to check this further? :)
Considering how
Force Connect Children
doesn't affect rigged meshes, I guess Objects parented to bones should also not be affected.Either with or without this change,
Force Connect Children
breaks imported animations, so I don't think the effect on imported animations needs to be considered too much.