Fix Dirty Vertex Colors failure when no vertex colors existed

This commit is contained in:
Campbell Barton 2022-08-30 11:11:34 +10:00
parent b814f64f4a
commit e9fe4aa7d7
1 changed files with 1 additions and 1 deletions

View File

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