Skip to content

Commit

Permalink
fix: add missing continue statements in create_duplicate_liftable_geo…
Browse files Browse the repository at this point in the history
…metry
  • Loading branch information
tristan-hm committed May 31, 2022
1 parent 979646d commit c6c9aad
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/objects.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,13 +81,16 @@ def create_duplicate_liftable_geometry(context, mode, name, ignore_complex_geo=T

if mod.type == 'SUBSURF':
bpy.ops.object.modifier_remove(modifier=name)
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):
bpy.ops.object.modifier_remove(modifier=name)
continue

if "— ND WNB" in mod.name:
bpy.ops.object.modifier_remove(modifier=name)
continue

depsgraph = context.evaluated_depsgraph_get()
object_eval = context.object.evaluated_get(depsgraph)
Expand Down

0 comments on commit c6c9aad

Please sign in to comment.