From bb39925ec5f46f4c2fde7267a429b7cdc5f025b6 Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Fri, 15 Aug 2014 19:50:16 +0200 Subject: Fix T41454: Command "Dirty Vertex Colors" prompts Python error. --- release/scripts/startup/bl_operators/vertexpaint_dirt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3