Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Fricke <frigi.f@googlemail.com>2010-04-22 18:31:54 +0400
committerFabian Fricke <frigi.f@googlemail.com>2010-04-22 18:31:54 +0400
commit47aea8b32eab38434438963839d380ed6bfea022 (patch)
treec6c78a74cde2d44ad0c20f3d20076c6db71dc224 /mesh_relax.py
parentb7665ffda3588a50e2d99d507754332a92d67eb6 (diff)
My bad, multiple modifiers still caused problems.
Diffstat (limited to 'mesh_relax.py')
-rw-r--r--mesh_relax.py2
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