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:
authorCampbell Barton <campbell@blender.org>2022-08-30 04:11:34 +0300
committerCampbell Barton <campbell@blender.org>2022-08-30 04:12:55 +0300
commite9fe4aa7d7df16a0a3f80c36b38dc7a97c8cc976 (patch)
tree89cbd14be2e370c0f0cd8af5b1fcb09d8455aeba
parentb814f64f4ab26f76ef7b75901877c170f7198570 (diff)
Fix Dirty Vertex Colors failure when no vertex colors existed
-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 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):