[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [630] trunk/py/scripts/addons/ mesh_relax.py: My bad, multiple modifiers still caused problems.

Fabian Fricke frigi.f at googlemail.com
Thu Apr 22 16:31:54 CEST 2010


Revision: 630
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-extensions&revision=630
Author:   frigi
Date:     2010-04-22 16:31:54 +0200 (Thu, 22 Apr 2010)

Log Message:
-----------
My bad, multiple modifiers still caused problems.

Modified Paths:
--------------
    trunk/py/scripts/addons/mesh_relax.py

Modified: trunk/py/scripts/addons/mesh_relax.py
===================================================================
--- trunk/py/scripts/addons/mesh_relax.py	2010-04-22 14:15:43 UTC (rev 629)
+++ trunk/py/scripts/addons/mesh_relax.py	2010-04-22 14:31:54 UTC (rev 630)
@@ -67,7 +67,7 @@
 
     # 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
     




More information about the Bf-extensions-cvs mailing list