Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
globglob3D opened this issue Jul 1, 2020 · 8 comments

Comments

@globglob3D
Copy link

Describe the bug
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.

To Reproduce
Steps to reproduce the behavior:
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)

Expected behavior
The objects under a linked Collection should be exported like any other object.

Version

  • OS: Windows 10
  • Blender Version: 2.83.1 and daily build 2.90
@julienduroure julienduroure changed the title glTF Exporter won't properly export linked collections if 'Selected objects' option is toggled T78459 : glTF Exporter won't properly export linked collections if 'Selected objects' option is toggled Jul 1, 2020
@globglob3D
Copy link
Author

globglob3D commented Jul 2, 2020

One workaround if you have objects in your scene that you doesn't want exported is simply to put them in a disabled collection before the export.

EDIT: Actually if you have linked collection objects in other inactive collections they sometimes get exported too. Which means that currently the most reliable workaround is to copy the objects you want to export (use the Copy Attribute addon), create a new .blend file, and paste them here for export.

@zauberparacelsus
Copy link

zauberparacelsus commented Sep 23, 2020

Are Linked Collections the same as Collection Instances? (IE: where you hit Shift-A and select something from the Collection Instance submenu)

I'm asking because I'm encountering an issue with those not being exported as well, except they don't get picked up regardless of what Selected Objects is set to.

EDIT: This is in 2.90, btw

@LorenzWieseke
Copy link

Having the same Issue, linked collections don't get exported, no matter if "selected objects" option is checked or not.

@KannebTo
Copy link

I found another workaround:

  • right click on linked collection > ID Data > Add Library Override Hierarchy
  • delete the linked collection and keep the override

Now everything seems to work as expected with or without Selected Objects option.

@emrum
Copy link

emrum commented Oct 24, 2021

@julienduroure
Copy link
Collaborator

Hello,
Proper collection ans instance management need a big refactoring that is currently in progress in #1378

@julienduroure
Copy link
Collaborator

I confirm that it will be solved by #1378 #1472 #1494

@julienduroure
Copy link
Collaborator

Fixed by 69746b2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants