Skip to content

Commit

Permalink
fix: ensure that the SBA and WN mod order is maintained when new mods…
Browse files Browse the repository at this point in the history
… are added to the stack
  • Loading branch information
tristan-hm committed Apr 14, 2024
1 parent 2066eda commit e8f8c7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/modifiers.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def rectify_smooth_by_angle(object):
return

mods = list(object.modifiers)
smoothing_mods = ['Smooth — ND SBA']
smoothing_mods = ['Smooth — ND SBA', 'Weighted Normal — ND WN']
smoothing_mods = [mod for mod in mods if mod.name in smoothing_mods]

for index, mod in enumerate(smoothing_mods):
Expand Down

0 comments on commit e8f8c7e

Please sign in to comment.