diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-02-11 15:30:17 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-02-11 15:30:17 +0300 |
commit | c50bf404d2a45fe291b546ad11076007f4d7c1b2 (patch) | |
tree | db14820c0d910f9fbdf6ba51090fb5de7030d1b4 /release | |
parent | 875f554cff9be6bbf581d67c64344c4af91e81d4 (diff) |
patch [#25978] mathutils fixes for bpy_types.py and vertexpaint_dirt.py
from Filiciss Muhgue (filiciss)
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/op/vertexpaint_dirt.py | 2 |
1 files changed, 1 insertions, 1 deletions
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]) |