[Bf-blender-cvs] [e9fe4aa7d7d] blender-v3.3-release: Fix Dirty Vertex Colors failure when no vertex colors existed
Campbell Barton
noreply at git.blender.org
Tue Aug 30 03:13:37 CEST 2022
Commit: e9fe4aa7d7df16a0a3f80c36b38dc7a97c8cc976
Author: Campbell Barton
Date: Tue Aug 30 11:11:34 2022 +1000
Branches: blender-v3.3-release
https://developer.blender.org/rBe9fe4aa7d7df16a0a3f80c36b38dc7a97c8cc976
Fix Dirty Vertex Colors failure when no vertex colors existed
===================================================================
M release/scripts/startup/bl_operators/vertexpaint_dirt.py
===================================================================
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):
More information about the Bf-blender-cvs
mailing list