Fix: Add Mesh Extra Objects: Inverted normals of solids when vertex positions are inverted #105123

Merged
Thomas Barlow merged 3 commits from Mysteryem/blender-addons:fix_mesh_extra_objects_solid_inverted_normals into main 2024-01-16 21:38:19 +01:00

3 Commits

Author SHA1 Message Date
759322ad71 Increase Add Mesh Extra Objects version 2024-01-16 20:36:59 +00:00
f07fee1b0b Match function/variable naming style of the surrounding code 2024-01-15 01:45:19 +00:00
93d3b64772 Fix: Add Mesh Extra Objects: Inverted normals of solids when vertex positions are inverted
A number of cases of `add_mesh_solid.createSolid` invert the vertex
positions, but this turns the solid inside-out, causing the normals to
be flipped.

This is fixed by also reversing the order of the vertices of each face
in these cases, which results in their normals being flipped.
2024-01-14 02:12:38 +00:00