You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Two objects with linked mesh data and identical modifiers do not cache uniquely.
To Reproduce
With a new Blender project and just the default cube, add a bevel modifier, and then duplicate the cube with Alt+D. Export with modifiers applied.
Expected behavior
I would hope this exports two nodes and one mesh, but I get two distinct meshes. I believe this is because identical modifier stacks hash to different values (maybe because id_data is different?) Maybe my expectations are wrong.
Note that objects with identical modifier stacks (including identical options on all modifiers) do not necessarily produce identical meshes. The modifiers are properly to the object, not to the mesh.
For example, a Mirror modifier with a mirror object depends on the relative position of the modified object to the mirror object. Objects in different positions but with the same linked mesh will have different results.
Interesting, thanks for the insight. In theory, if you had a list of known modifiers that referred to object properties, you could do some kind of equivalence test on modifier stacks that accounted for those problem modifiers? At that point, though, maybe you'd be better off just comparing the final evaluated mesh data directly.
Describe the bug
Two objects with linked mesh data and identical modifiers do not cache uniquely.
To Reproduce
With a new Blender project and just the default cube, add a bevel modifier, and then duplicate the cube with Alt+D. Export with modifiers applied.
Expected behavior
I would hope this exports two nodes and one mesh, but I get two distinct meshes. I believe this is because identical modifier stacks hash to different values (maybe because
id_data
is different?) Maybe my expectations are wrong..blend file/ .gltf (mandatory)
untitled.zip
Version
The text was updated successfully, but these errors were encountered: