diff options
author | Campbell Barton <campbell@blender.org> | 2022-08-30 04:11:34 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-08-30 04:12:55 +0300 |
commit | e9fe4aa7d7df16a0a3f80c36b38dc7a97c8cc976 (patch) | |
tree | 89cbd14be2e370c0f0cd8af5b1fcb09d8455aeba /release/scripts/startup/bl_operators/vertexpaint_dirt.py | |
parent | b814f64f4ab26f76ef7b75901877c170f7198570 (diff) |
Fix Dirty Vertex Colors failure when no vertex colors existed
Diffstat (limited to 'release/scripts/startup/bl_operators/vertexpaint_dirt.py')
-rw-r--r-- | release/scripts/startup/bl_operators/vertexpaint_dirt.py | 2 |
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 74c20a774a3..616e37d37e7 100644 --- a/release/scripts/startup/bl_operators/vertexpaint_dirt.py +++ b/release/scripts/startup/bl_operators/vertexpaint_dirt.py @@ -5,7 +5,7 @@ def ensure_active_color_attribute(me): if me.attributes.active_color: return me.attributes.active_color - return me.color_attributes.new("Color", 'BYTE_COLOR', 'FACE_CORNER') + return me.color_attributes.new("Color", 'BYTE_COLOR', 'CORNER') def applyVertexDirt(me, blur_iterations, blur_strength, clamp_dirt, clamp_clean, dirt_only, normalize): |