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

disabled an object in viewport confuses modifiers during export #1131

Open
xriss opened this issue Jul 19, 2020 · 1 comment
Open

disabled an object in viewport confuses modifiers during export #1131

xriss opened this issue Jul 19, 2020 · 1 comment
Labels
bug Something isn't working exporter This involves or affects the export process Mesh_&_Object

Comments

@xriss
Copy link

xriss commented Jul 19, 2020

Describe the bug
If an object is "disabled in viewport" and you export with modifiers applied, then modifiers are not applied to that object.

A bit obscure and personally I'll just stop using disable in viewport to work around it, (I was only using disable in viewport to work around an old issue with the collada exporter )

Just thought I would flag it as slightly strange behaviour.

To Reproduce
I've included an example blend files with two identical cubes that have a mirror modifier, one of these objects has been disabled in viewport.
Export with modifiers applied and take a look at the output gltf, it is obvious from the accessor array that one of the objects has half the vertexes of the other when they both should have had the same mirror modifier applied to them.

Version

  • OS: linux
  • Blender Version 2.83.2

gltf_export_modifier_bug_when_object_disabled_in_viewport.zip

@julienduroure
Copy link
Collaborator

Confirmed.
Probably linked to depsgraph evaluation.

@julienduroure julienduroure added bug Something isn't working exporter This involves or affects the export process Mesh_&_Object labels Aug 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working exporter This involves or affects the export process Mesh_&_Object
Projects
None yet
Development

No branches or pull requests

2 participants