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:
authorBastien Montagne <montagne29@wanadoo.fr>2014-08-15 21:50:16 +0400
committerBastien Montagne <montagne29@wanadoo.fr>2014-08-15 21:51:14 +0400
commitbb39925ec5f46f4c2fde7267a429b7cdc5f025b6 (patch)
treef7158d6a3a192e640443bb1487f116e148bc914a
parent513b8ddf06242bb1c859d350571be8a6115cef72 (diff)
Fix T41454: Command "Dirty Vertex Colors" prompts Python error.
-rw-r--r--release/scripts/startup/bl_operators/vertexpaint_dirt.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_operators/vertexpaint_dirt.py b/release/scripts/startup/bl_operators/vertexpaint_dirt.py
index 68c9bc143be..ecb1ecf7f47 100644
--- a/release/scripts/startup/bl_operators/vertexpaint_dirt.py
+++ b/release/scripts/startup/bl_operators/vertexpaint_dirt.py
@@ -109,7 +109,7 @@ def applyVertexDirt(me, blur_iterations, blur_strength, clamp_dirt, clamp_clean,
active_col_layer = me.vertex_colors[0].data
if not active_col_layer:
- return
+ return {'CANCELLED'}
use_paint_mask = me.use_paint_mask