From c50bf404d2a45fe291b546ad11076007f4d7c1b2 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 11 Feb 2011 12:30:17 +0000 Subject: [PATCH] patch [#25978] mathutils fixes for bpy_types.py and vertexpaint_dirt.py from Filiciss Muhgue (filiciss) --- release/scripts/op/vertexpaint_dirt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/release/scripts/op/vertexpaint_dirt.py b/release/scripts/op/vertexpaint_dirt.py index 5102c94af69..d5060e913ae 100644 --- a/release/scripts/op/vertexpaint_dirt.py +++ b/release/scripts/op/vertexpaint_dirt.py @@ -65,7 +65,7 @@ def applyVertexDirt(me, blur_iterations, blur_strength, clamp_dirt, clamp_clean, # 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])