Page MenuHome

X3D: Fix T67053: export with "Selection Only" error

Authored by Philipp Oeser (lichtwerk) on Jul 16 2019, 3:42 PM.

Diff Detail

Event Timeline

Brecht Van Lommel (brecht) requested changes to this revision.EditedJul 16 2019, 3:45 PM

It should iterate over view_layer.objects instead of scene.objects for both the selection and non-selection case. Only then does it make sense to query if the object is visible or selected in the view layer.

This revision now requires changes to proceed.Jul 16 2019, 3:45 PM

only iterate viewlayer objects [only exporting objects visible there anyways...]

This revision is now accepted and ready to land.Jul 16 2019, 4:15 PM