glTF 2.0 export with "selected objects only" exports all armatures on the scene #84506
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
5 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#84506
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
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-10.0.19041-SP0 64 Bits
Graphics card: GeForce GTX 1070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 461.09
Blender Version
Broken: version: 2.91.0, branch: master, commit date: 2020-11-25 08:34, hash:
blender/blender@0f45cab862
Worked: (newest version of Blender that worked as expected)
Short description of error
Actual: glTF 2.0 export with "selected objects only" brings all armatures on the scene with it.
Expected: only selected object being exported.
Exact steps for others to reproduce the error
Create a new Blender scene with the default cube
Add a plane
Add 2 armatures
Select the plane (do not select the armatures)
Click File->Export as glTF 2.0 (.glb/.gltf)
Set options below:
Format-> any of glTF
Include-> limit to selected Objects - checked
Animation -> Animation - unchecked
Animation-> Shape Keys - unchecked
Animation-> Skinning - unchecked
Click Export glTF 2.0 button
Create another empty scene with default cube
Import the exported glTF file
See the plane imported as the both armatures as well
Added subscriber: @aamm
glTF 2.0 export with selected objects only exports all armatures on the sceneto glTF 2.0 export with "selected objects only" exports all armatures on the sceneAdded subscriber: @oweissbarth
Changed status from 'Needs Triage' to: 'Confirmed'
I can confirm this issue. The armature is not filtered out as it has children (the bones). The selection status of the bones is not checked thus they are included.
Added subscribers: @JulienDuroure, @lichtwerk
@JulienDuroure : mind checking?
This is a known issue, already reported multiple times on upstream repository.
This need quite some important changes to be fixed, so will not be fixed in short term
Added subscriber: @idc-4
FWIW my naive fix for this issue is to use
__filter_node
criteria when gathering armature nodes. Curious what it might break downstream...Changed status from 'Confirmed' to: 'Resolved'
Fixed by
e7f2213435