Fix: Add Mesh Extra Objects: dual tetrahedron is sometimes flipped #105127

Merged
Damien Picard merged 2 commits from pioverfour/blender-addons:dp_fix_solids into main 2024-01-16 22:04:16 +01:00

View File

@ -164,8 +164,6 @@ def createSolid(plato, vtrunc, etrunc, dual, snub):
if vtrunc == 0: # no truncation needed
if dual:
vInput, fInput = source(plato)
vInput = [i * supposedSize for i in vInput]
return vInput, fInput
vInput = [-i * supposedSize for i in vInput]
# Inverting vInput turns the mesh inside-out, so normals need to be flipped.
return vInput, flippedFaceNormals(fInput)