Fix T41454: Command "Dirty Vertex Colors" prompts Python error.

This commit is contained in:
Bastien Montagne 2014-08-15 19:50:16 +02:00
parent 513b8ddf06
commit bb39925ec5

@ -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