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])
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs