[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [2227] contrib/py/scripts/addons/ mesh_normal_smooth.py: fix for matrix multiplication changes
Brendon Murphy
meta.androcto1 at gmail.com
Sun Aug 7 13:18:43 CEST 2011
Revision: 2227
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-extensions&revision=2227
Author: meta-androcto
Date: 2011-08-07 11:18:43 +0000 (Sun, 07 Aug 2011)
Log Message:
-----------
fix for matrix multiplication changes
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-08-07 11:07:26 UTC (rev 2226)
+++ contrib/py/scripts/addons/mesh_normal_smooth.py 2011-08-07 11:18:43 UTC (rev 2227)
@@ -26,7 +26,7 @@
"author": "Dolf Veenvliet",
"version": (7,),
"blender": (2, 5, 7),
- "api": 36147,
+ "api": 39104,
"location": "View3D > Specials > Normal Smooth ",
"description": "Smooth the vertex position based on the normals",
"warning": "",
@@ -52,7 +52,7 @@
def RotVtoV(vec1, vec2, rad):
cross = vec1.cross(vec2)
mat = mathutils.Matrix.Rotation(rad, 3, cross)
- return (vec1 * mat)
+ return (mat * vec1)
# Find the new coordinate for this verticle
More information about the Bf-extensions-cvs
mailing list