System Information
Blender version: 2.90.0, branch: master, commit date: 2020-08-31 11:26, hash: 0330d1af29c0, type: Release
build date: 2020-08-31, 10:00:13
platform: Windows
renderer: 'GeForce GTX 1080 Ti/PCIe/SSE2'
version: '4.5.0 NVIDIA 442.59'
Short description of error
- glb files are "empty" when trying to export 2nd level hierarchy object selections (See my screenshot below)
- Happens in all Blender versions, that supports gltf / glb export (tried in 2.81+)
Exact steps for others to reproduce the error
- Open my example .blend file and select "root_torus" empty and its sub objects
- Export the selection as .glb file format
-> Results in an empty file when viewing it in a glb viewer. File was created, but no objects were exported.
Notes
- If you select the whole "root_cube" hierarchy, then all objects will be exported.
- To export the "root_torus" hierarchy only, you have to unparent it from "root_cube". Not a good solution.
- Even single meshes in 2nd level hierarchies can't be exported and have to be moved to the scene root or to the parent root!
The problem: Only object hierarchies, that are in the scene root can be exported, sub hierarchies can't.
Expectation: Make it possible to export any single selected object or group selections, from any hierarchy location.
Example File and Screenshot
