Skip to content

Commit

Permalink
fix: ensure the triangulate modifier is removed from boolean utility …
Browse files Browse the repository at this point in the history
…objects
  • Loading branch information
tristan-hm committed Jul 20, 2024
1 parent 0c4afd4 commit 380f808
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/modifiers.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,10 @@ def remove_problematic_boolean_mods(object):
remove_mods.append(mod)
continue

if mod.name == "Triangulate — ND":
remove_mods.append(mod)
continue

if mod.type == 'BEVEL' and mod.affect == 'EDGES' and mod.limit_method == 'ANGLE':
if mod.segments > 1 or (mod.segments == 1 and mod.harden_normals):
remove_mods.append(mod)
Expand Down

0 comments on commit 380f808

Please sign in to comment.