Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'release/scripts/op/vertexpaint_dirt.py')
-rw-r--r--release/scripts/op/vertexpaint_dirt.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/op/vertexpaint_dirt.py b/release/scripts/op/vertexpaint_dirt.py
index acbf7660e8c..c7b7ee71964 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 += Vector(me.verts[c].co - co).normalize()
+ vec += (me.verts[c].co - co).normalize()
# normalize the vector by dividing by the number of connected verts
tot_con = len(con[i])