Fix #2756. Bug where reassigning classes with a enum didn't work.

This commit is contained in:
Dion Moult
2023-02-11 11:03:35 +11:00
parent bbd2b67041
commit ceaa930aad
3 changed files with 9 additions and 2 deletions
@@ -26,6 +26,7 @@ def is_x(value, x):
def get_volume(geometry):
# https://stackoverflow.com/questions/1406029/how-to-calculate-the-volume-of-a-3d-mesh-object-the-surface-of-which-is-made-up
def signed_triangle_volume(p1, p2, p3):
v321 = p3[0] * p2[1] * p1[2]
v231 = p2[0] * p3[1] * p1[2]