[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [3169] contrib/py/scripts/addons/ mesh_normal_smooth.py: fix for mesh.faces > mesh.polygons
Brendon Murphy
meta.androcto1 at gmail.com
Sat Mar 24 09:02:35 CET 2012
Revision: 3169
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-extensions&revision=3169
Author: meta-androcto
Date: 2012-03-24 08:02:22 +0000 (Sat, 24 Mar 2012)
Log Message:
-----------
fix for mesh.faces > mesh.polygons
Modified Paths:
--------------
contrib/py/scripts/addons/mesh_normal_smooth.py
Modified: contrib/py/scripts/addons/mesh_normal_smooth.py
===================================================================
--- contrib/py/scripts/addons/mesh_normal_smooth.py 2012-03-23 20:34:45 UTC (rev 3168)
+++ contrib/py/scripts/addons/mesh_normal_smooth.py 2012-03-24 08:02:22 UTC (rev 3169)
@@ -65,10 +65,10 @@
newCo = []
# Make sure there's faces, otherwise we do nothing
- if len(me.faces):
+ if len(me.polygons):
# Check every face
- for f in me.faces:
+ for f in me.polygons:
# Only check faces that this vert is in
if v1in in f.vertices:
More information about the Bf-extensions-cvs
mailing list