[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [34777] trunk/blender/release/scripts/op/ vertexpaint_dirt.py: patch [#25978] mathutils fixes for bpy_types. py and vertexpaint_dirt.py
Campbell Barton
ideasman42 at gmail.com
Fri Feb 11 13:30:18 CET 2011
Revision: 34777
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=34777
Author: campbellbarton
Date: 2011-02-11 12:30:17 +0000 (Fri, 11 Feb 2011)
Log Message:
-----------
patch [#25978] mathutils fixes for bpy_types.py and vertexpaint_dirt.py
from Filiciss Muhgue (filiciss)
Modified Paths:
--------------
trunk/blender/release/scripts/op/vertexpaint_dirt.py
Modified: trunk/blender/release/scripts/op/vertexpaint_dirt.py
===================================================================
--- trunk/blender/release/scripts/op/vertexpaint_dirt.py 2011-02-11 10:29:47 UTC (rev 34776)
+++ trunk/blender/release/scripts/op/vertexpaint_dirt.py 2011-02-11 12:30:17 UTC (rev 34777)
@@ -65,7 +65,7 @@
# get the direction of the vectors between the vertex and it's connected vertices
for c in con[i]:
- vec += (me.vertices[c].co - co).normalize()
+ vec += (me.vertices[c].co - co).normalized()
# normalize the vector by dividing by the number of connected verts
tot_con = len(con[i])
More information about the Bf-blender-cvs
mailing list