glTF Exporter won't properly export linked collections if 'Selected objects' option is toggled #78459

Closed
opened 2020-06-30 13:14:29 +02:00 by Arthur Blaquart · 18 comments

System Information
Operating system: Windows 10

Blender Version
2.83

Short description of error
glTF Exporter won't properly export linked collections if 'Selected objects' option is toggled and those collections are selected. This use to work as intended before 2.83.
The .glb do get exported but the objects in linked collections are not in the file.

Exact steps for others to reproduce the error
Create a .blend with any object under a collection and save. Create new blend, link the previous collection, try to export it with 'Selected objects' option toggled. Test the .glb in a viewer like this one https://gltf-viewer.donmccurdy.com/
(Note that I've only tested for .glb, this might still work for .gltf)

**System Information** Operating system: Windows 10 **Blender Version** 2.83 **Short description of error** glTF Exporter won't properly export linked collections if 'Selected objects' option is toggled and those collections are selected. This use to work as intended before 2.83. The .glb do get exported but the objects in linked collections are not in the file. **Exact steps for others to reproduce the error** Create a .blend with any object under a collection and save. Create new blend, link the previous collection, try to export it with 'Selected objects' option toggled. Test the .glb in a viewer like this one https://gltf-viewer.donmccurdy.com/ (Note that I've only tested for .glb, this might still work for .gltf)

Added subscriber: @Human_Robot

Added subscriber: @Human_Robot

Added subscriber: @mano-wii

Added subscriber: @mano-wii

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'

I cannot reproduce this with either the latest stable or current development versions of Blender:

Please try the latest daily build: https://builder.blender.org/download/

Go to File → Defaults → Load Factory Settings and then load your file to see if you still can reproduce this issue.

If the problem persists, please give us more clear instructions on how to reproduce it from scratch.

I cannot reproduce this with either the latest stable or current development versions of Blender: Please try the latest daily build: https://builder.blender.org/download/ Go to File → Defaults → Load Factory Settings and then load your file to see if you still can reproduce this issue. If the problem persists, please give us more clear instructions on how to reproduce it from scratch.

In #78459#969975, @mano-wii wrote:
I cannot reproduce this with either the latest stable or current development versions of Blender:

Please try the latest daily build: https://builder.blender.org/download/

Go to File → Defaults → Load Factory Settings and then load your file to see if you still can reproduce this issue.

If the problem persists, please give us more clear instructions on how to reproduce it from scratch.

The problem is present with both versions (2.83.1 and the daily build of 2.90). Note that the .glb do get exported but the objects in the linked collections just aren't present in the file (or not fully present). Did you test your export in a viewer like this one: https://gltf-viewer.donmccurdy.com/ ?

> In #78459#969975, @mano-wii wrote: > I cannot reproduce this with either the latest stable or current development versions of Blender: > > Please try the latest daily build: https://builder.blender.org/download/ > > Go to File → Defaults → Load Factory Settings and then load your file to see if you still can reproduce this issue. > > If the problem persists, please give us more clear instructions on how to reproduce it from scratch. The problem is present with both versions (2.83.1 and the daily build of 2.90). Note that the .glb do get exported but the objects in the linked collections just aren't present in the file (or not fully present). Did you test your export in a viewer like this one: https://gltf-viewer.donmccurdy.com/ ?

Changed status from 'Needs User Info' to: 'Needs Triage'

Changed status from 'Needs User Info' to: 'Needs Triage'
Member

Added subscriber: @JulienDuroure

Added subscriber: @JulienDuroure
Member
Note: Upstream corresponding ticket: https://github.com/KhronosGroup/glTF-Blender-IO/issues/1109
Member

Changed status from 'Needs Triage' to: 'Resolved'

Changed status from 'Needs Triage' to: 'Resolved'
Julien Duroure self-assigned this 2020-10-21 16:33:42 +02:00
Member

Sorry, closed the wrong ticket.
This is still not solved yet

Sorry, closed the wrong ticket. This is still not solved yet
Member

Changed status from 'Resolved' to: 'Needs Triage'

Changed status from 'Resolved' to: 'Needs Triage'

Any news on this ? This is a pretty big deal when you have big libraries with lots of assets linked together.

Any news on this ? This is a pretty big deal when you have big libraries with lots of assets linked together.
Member

Get a correct export with collection instances (and selection too) needs a quite big refactoring that is in progress here: https://github.com/KhronosGroup/glTF-Blender-IO/pull/1378
Currently, selection code is not changed yet, but any collection export should be solved

Get a correct export with collection instances (and selection too) needs a quite big refactoring that is in progress here: https://github.com/KhronosGroup/glTF-Blender-IO/pull/1378 Currently, selection code is not changed yet, but any collection export should be solved
Member

Added subscriber: @OmarEmaraDev

Added subscriber: @OmarEmaraDev
Member

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'
Member

Seems this is already confirmed and being worked on as mentioned above.

Seems this is already confirmed and being worked on as mentioned above.
Member

Fixed by 782f8585f4

Fixed by 782f8585f4cc
Member

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Sign in to join this conversation.
No Milestone
No project
No Assignees
4 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#78459
No description provided.