Page MenuHome

gltf exporter is ignoring collection and scene active/inactive states
Closed, InvalidPublic

Description

System Information
Operating system: Windows-10-10.0.17134 64 Bits
Graphics card: Intel(R) HD Graphics 620 Intel 4.4.0 - Build 21.20.16.4574

Blender Version
Broken: version: 2.80 (sub 75), branch: master, commit date: 2019-07-29 14:47, hash: rBf6cb5f54494e
Worked: (optional)

Short description of error

working with scenes and exporting to gltf is ignoring which scene is active and which collections are active.
active collections are used to filter what gets exported for fbx, the same behavior should happen with gltf. as is, all assets in the first scene in the .blend file and all objects are exported regardless weather the collection is active/innactive or how many other scenes are in the .blend file.

it should only export from the active scene (not the first) using the active collections.

Exact steps for others to reproduce the error

create two collections add objects to both. deactivate one collection. export. (bug) all objects will export.
create two scenes add objects to both. activate second scene. export. (bug) only objects from first scene will export.

Details

Type
Bug

Event Timeline

bay raitt (spiraloid) renamed this task from gltf exporter is ignoring collection/scene active/innacitve state to gltf exporter is ignoring collection and scene active/inactive states.Aug 12 2019, 3:11 AM
bay raitt (spiraloid) updated the task description. (Show Details)
Julien DUROURE (julien) lowered the priority of this task from Needs Triage by Developer to Needs Information from User.Aug 13 2019, 9:27 PM

Hello,
Regarding collection issue ;
I cannot reproduce with lastest build. Can you please test with last build from https://builder.blender.org/download/

Regarding scene : Both scenes are exported, because glTF has a scene management.
I added an enhancement ticket here to make the active scene in blender the main scene in glTF file : https://github.com/KhronosGroup/glTF-Blender-IO/issues/619

More than a week without reply or activity. Due to the policy of the tracker archiving for until required info/data are provided.