Skip to content

Commit

Permalink
feat: set keep_sharp for the weighted_normal operator by default
Browse files Browse the repository at this point in the history
  • Loading branch information
tristan-hm committed Sep 17, 2022
1 parent 28b359a commit 3856be3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion shading/wn.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ def invoke(self, context, event):
return {'FINISHED'}

for obj in context.selected_objects:
new_modifier(obj, 'Weighted Normal — ND WN', 'WEIGHTED_NORMAL', rectify=False)
mod = new_modifier(obj, 'Weighted Normal — ND WN', 'WEIGHTED_NORMAL', rectify=False)
mod.keep_sharp = True

return {'FINISHED'}

Expand Down

0 comments on commit 3856be3

Please sign in to comment.