Skip to content

Commit

Permalink
chore: remove unnecessary if
Browse files Browse the repository at this point in the history
  • Loading branch information
saturday06 committed Jun 9, 2024
1 parent ffab59d commit 33e4eb5
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/io_scene_vrm/editor/mtoon1/ops.py
Original file line number Diff line number Diff line change
Expand Up @@ -823,10 +823,9 @@ def assign(
return

if not modifier and not create_modifier:
if not no_outline:
mtoon.outline_width_mode = (
Mtoon1VrmcMaterialsMtoonPropertyGroup.OUTLINE_WIDTH_MODE_NONE
)
mtoon.outline_width_mode = (
Mtoon1VrmcMaterialsMtoonPropertyGroup.OUTLINE_WIDTH_MODE_NONE
)
return

outline_material_name = f"MToon Outline ({material.name})"
Expand Down

0 comments on commit 33e4eb5

Please sign in to comment.