[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [1829] contrib/py/scripts/addons/ mesh_normal_smooth.py: fixed error "normalize" > "normalized"
Brendon Murphy
meta.androcto1 at gmail.com
Thu Apr 14 11:25:53 CEST 2011
Revision: 1829
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-extensions&revision=1829
Author: meta-androcto
Date: 2011-04-14 09:25:52 +0000 (Thu, 14 Apr 2011)
Log Message:
-----------
fixed error "normalize" > "normalized"
thanks macouno
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 2011-04-14 08:49:26 UTC (rev 1828)
+++ contrib/py/scripts/addons/mesh_normal_smooth.py 2011-04-14 09:25:52 UTC (rev 1829)
@@ -29,7 +29,7 @@
"api": 36147,
"location": "View3D > Specials > Normal Smooth ",
"description": "Smooth the vertex position based on the normals",
- "warning": "Broken",
+ "warning": "",
"wiki_url": "",
"tracker_url": "",
"category": "Mesh"}
@@ -95,10 +95,10 @@
vLen *= 0.514
# Get the normal rotated 90 degrees (pi * 0.5 = 90 degrees in radians) towards the original vert
- vNor = RotVtoV(v2.normal, vTov.normalize(), (math.pi * 0.5))
+ vNor = RotVtoV(v2.normal, vTov.normalized(), (math.pi * 0.5))
# Make the vector the correct length
- vNor = vNor.normalize() * vLen
+ vNor = vNor.normalized() * vLen
# Add the vector to the vert position to get the correct coord
vNor = v2co + vNor
More information about the Bf-extensions-cvs
mailing list