diff options
author | Fabian Fricke <frigi.f@googlemail.com> | 2010-04-22 18:31:54 +0400 |
---|---|---|
committer | Fabian Fricke <frigi.f@googlemail.com> | 2010-04-22 18:31:54 +0400 |
commit | 47aea8b32eab38434438963839d380ed6bfea022 (patch) | |
tree | c6c78a74cde2d44ad0c20f3d20076c6db71dc224 /mesh_relax.py | |
parent | b7665ffda3588a50e2d99d507754332a92d67eb6 (diff) |
My bad, multiple modifiers still caused problems.
Diffstat (limited to 'mesh_relax.py')
-rw-r--r-- | mesh_relax.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesh_relax.py b/mesh_relax.py index 1b6526be..0d7e756a 100644 --- a/mesh_relax.py +++ b/mesh_relax.py @@ -67,7 +67,7 @@ def relax_mesh(context): # remove all other modifiers from the target for m in range(0, len(target.modifiers)): - target.modifiers.remove(target.modifiers[m]) + target.modifiers.remove(target.modifiers[0]) context.scene.objects.active = obj |