Fix T91802: vertex color layer name collides with itself
Vertex colors are already included in `mesh.attributes`. So they don't have to be added to the collision checks separately.
This commit is contained in:
parent
24a965bb16
commit
eabb134840
Notes:
blender-bot
2023-02-14 05:52:32 +01:00
Referenced by issue #91802, New Vertex Colors show up in the Attributes panel with name collisions.
|
@ -639,7 +639,6 @@ class DATA_PT_mesh_attributes(MeshButtonsPanel, Panel):
|
|||
|
||||
add_attributes(mesh.attributes)
|
||||
add_attributes(mesh.uv_layers)
|
||||
add_attributes(mesh.vertex_colors)
|
||||
add_attributes(ob.vertex_groups)
|
||||
|
||||
colliding_names = [name for name, layers in attributes_by_name.items() if len(layers) >= 2]
|
||||
|
|
Loading…
Reference in New Issue