forked from bartvdbraak/blender
Fix T41454: Command "Dirty Vertex Colors" prompts Python error.
This commit is contained in:
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user